Ticket #6185: r6898_comment_submit_date_fix.diff

File r6898_comment_submit_date_fix.diff, 695 bytes (added by Brian Rosner, 16 years ago)

workaround to a legacy comments app problem

  • django/contrib/comments/models.py

    diff --git a/django/contrib/comments/models.py b/django/contrib/comments/models.py
    index d65440e..f418e9a 100644
    a b class FreeCommentAdmin(admin.ModelAdmin):  
    297297    fieldsets = (
    298298        (None, {'fields': ('content_type', 'object_id', 'site')}),
    299299        ('Content', {'fields': ('person_name', 'comment')}),
    300         ('Meta', {'fields': ('submit_date', 'is_public', 'ip_address', 'approved')}),
     300        ('Meta', {'fields': ('is_public', 'ip_address', 'approved')}),
    301301    )
    302302    list_display = ('person_name', 'submit_date', 'content_type', 'get_content_object')
    303303    list_filter = ('submit_date',)
Back to Top