mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25903 -- Fixed the admin's list_editable add/change buttons.
This commit is contained in:
@@ -87,8 +87,11 @@ class ChapterXtra1Admin(admin.ModelAdmin):
|
||||
|
||||
|
||||
class ArticleAdmin(admin.ModelAdmin):
|
||||
list_display = ('content', 'date', callable_year, 'model_year',
|
||||
'modeladmin_year', 'model_year_reversed')
|
||||
list_display = (
|
||||
'content', 'date', callable_year, 'model_year', 'modeladmin_year',
|
||||
'model_year_reversed', 'section',
|
||||
)
|
||||
list_editable = ('section',)
|
||||
list_filter = ('date', 'section')
|
||||
view_on_site = False
|
||||
fieldsets = (
|
||||
|
||||
Reference in New Issue
Block a user