mirror of
https://github.com/Sosokker/ku-polls.git
synced 2025-12-19 21:44:06 +01:00
Delete update pub_date field in admin
This commit is contained in:
parent
c116a2ff0d
commit
f33dbdf1d5
@ -11,7 +11,6 @@ class ChoiceInline(admin.TabularInline):
|
||||
class QuestionAdmin(admin.ModelAdmin):
|
||||
fieldsets = [
|
||||
(None, {"fields": ["question_text"]}),
|
||||
("Date information", {"fields": ["pub_date"], "classes": ["collapse"]}),
|
||||
("End date", {"fields": ["end_date"], "classes": ["collapse"]}),
|
||||
]
|
||||
list_display = ["question_text", "pub_date", "end_date", "was_published_recently"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user