forked from rc/aircox
		
	add website application
This commit is contained in:
		@ -14,6 +14,11 @@ Simple CMS generator used in Aircox. Main features includes:
 | 
			
		||||
We aims here to automatize most common tasks and to ease website
 | 
			
		||||
configuration.
 | 
			
		||||
 | 
			
		||||
# Dependencies
 | 
			
		||||
* ```django-taggit```: publications tags
 | 
			
		||||
 | 
			
		||||
Note: this application can be used outside Aircox if needed.
 | 
			
		||||
 | 
			
		||||
# Architecture
 | 
			
		||||
A **Website** holds all required informations to run the server instance. It
 | 
			
		||||
is used to register all kind of posts, routes to the views, menus, etc.
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,8 @@
 | 
			
		||||
from django.contrib import admin
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import aircox.cms.models as models
 | 
			
		||||
 | 
			
		||||
admin.site.register(cms.Article)
 | 
			
		||||
admin.site.register(cms.Comment)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -75,6 +75,7 @@
 | 
			
		||||
{% endfor %}
 | 
			
		||||
</ul>
 | 
			
		||||
 | 
			
		||||
{% if object_list %}
 | 
			
		||||
{% if page_obj or list.url %}
 | 
			
		||||
<nav>
 | 
			
		||||
    {% if not page_obj or embed %}
 | 
			
		||||
@ -117,5 +118,6 @@
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</nav>
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user