Merge pull request #93 from jedie/move_category

workflow enhance
This commit is contained in:
Iacopo Spalletti 2015-02-21 17:58:51 +01:00
commit 94c5dab4e0

View file

@ -33,10 +33,10 @@ class PostAdmin(EnhancedModelAdminMixin, FrontendEditableAdminMixin,
enhance_exclude = ('main_image', 'tags') enhance_exclude = ('main_image', 'tags')
_fieldsets = [ _fieldsets = [
(None, { (None, {
'fields': [('title', 'slug', 'publish'), 'abstract'] 'fields': [('title', 'categories', 'publish'), 'abstract']
}), }),
('Info', { ('Info', {
'fields': (['categories', 'tags'], 'fields': (['slug', 'tags'],
('date_published', 'date_published_end', 'enable_comments')), ('date_published', 'date_published_end', 'enable_comments')),
'classes': ('collapse',) 'classes': ('collapse',)
}), }),