mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
newforms-admin: Fixed #6185. Removed submit_date from FreeComment ModelAdmin as it is not an editable field.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
dac6f2d37b
commit
ac4f5efc4f
@ -307,7 +307,7 @@ class FreeCommentAdmin(admin.ModelAdmin):
|
||||
fieldsets = (
|
||||
(None, {'fields': ('content_type', 'object_id', 'site')}),
|
||||
('Content', {'fields': ('person_name', 'comment')}),
|
||||
('Meta', {'fields': ('submit_date', 'is_public', 'ip_address', 'approved')}),
|
||||
('Meta', {'fields': ('is_public', 'ip_address', 'approved')}),
|
||||
)
|
||||
list_display = ('person_name', 'submit_date', 'content_type', 'get_content_object')
|
||||
list_filter = ('submit_date',)
|
||||
|
Loading…
x
Reference in New Issue
Block a user