b06daba446
* master: added BSD license Update master use django-forms-bootstrap fixed account links on homepage fixed staticfiles settings removed homepage use of ifsetting_tag updated urls updated templates updated imports to reflect new layout updated imports to reflect new layout updated settings updated manage.py updated requirements to 1.4 / DUA and latest versions updated project layout for 1.4 (without content changes) Conflicts: requirements/base.txt symposion/settings.py symposion_project/urls.py
12 lines
273 B
Python
12 lines
273 B
Python
from django.contrib import admin
|
|
|
|
from mptt.admin import MPTTModelAdmin
|
|
|
|
from cms.models import Page
|
|
|
|
|
|
class PageAdmin(MPTTModelAdmin):
|
|
prepopulated_fields = {"slug": ("title",)}
|
|
list_display = ("title", "published", "status")
|
|
|
|
admin.site.register(Page, PageAdmin)
|