Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #6185. Removed submit_date from FreeComment Mod…

…elAdmin 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
  • Loading branch information...
commit ac4f5efc4f8dbbb85b43c17e605cf699e89e0dff 1 parent dac6f2d
@brosner brosner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/comments/models.py
View
2  django/contrib/comments/models.py
@@ -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',)
Please sign in to comment.
Something went wrong with that request. Please try again.