Commit 445775d7 authored by Okhin's avatar Okhin
Browse files

Adding the old column to the admin interface

parent 868f805e
......@@ -6,8 +6,8 @@ class CommentInline(admin.TabularInline):
max_num = 1
class ViolationAdmin(admin.ModelAdmin):
list_display = ('state', 'country', 'operator', 'contract', 'resource_name', 'media', 'activationid')
list_filter = ('state', 'operator_ref', 'contract', 'resource_name', 'media', 'country')
list_display = ('state', 'country', 'operator', 'contract', 'resource_name', 'media', 'activationid', 'old')
list_filter = ('state', 'operator_ref', 'contract', 'resource_name', 'media', 'country', 'old')
inlines = [CommentInline, ], ViolationAdmin)
......@@ -33,4 +33,4 @@ class OperatorAdmin(admin.ModelAdmin):
list_display = ("__unicode__", "reported_violations")
search_fields = ('name', )
pass, OperatorAdmin)
\ No newline at end of file, OperatorAdmin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment