From 9b6d232f7a8bc0ed1f9b090c06c8438db14e8179 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 1 Oct 2012 17:02:47 +0200 Subject: [PATCH] allow editing date --- migdal/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.20.1