From: Radek Czajka Date: Mon, 1 Oct 2012 15:02:47 +0000 (+0200) Subject: allow editing date X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/9b6d232f7a8bc0ed1f9b090c06c8438db14e8179?ds=sidebyside allow editing date --- diff --git a/migdal/admin.py b/migdal/admin.py index 4222368..920f29c 100644 --- a/migdal/admin.py +++ b/migdal/admin.py @@ -18,7 +18,7 @@ class AttachmentInline(admin.TabularInline): class EntryAdmin(admin.ModelAdmin): date_hierarchy = 'date' fieldsets = ( - (None, {'fields': (('type', 'promo'), 'author', 'author_email', 'image')}), + (None, {'fields': (('type', 'promo'), 'author', 'author_email', 'image', 'date')}), ) + tuple( (ln, {'fields': ( ('published_%s' % lc),