Commit 80f0c18d authored by Baptiste Jonglez's avatar Baptiste Jonglez

Add 'state' column to the list of cases (admin interface)

parent 0fce2a6f
......@@ -2,8 +2,8 @@ from django.contrib import admin
from bt import models
class ViolationAdmin(admin.ModelAdmin):
list_display = ('country', 'operator', 'contract', 'resource_name', 'media', 'activationid')
list_filter = ('operator', 'contract', 'resource_name', 'media', 'country')
list_display = ('state', 'country', 'operator', 'contract', 'resource_name', 'media', 'activationid')
list_filter = ('state', 'operator', 'contract', 'resource_name', 'media', 'country')
admin.site.register(models.Violation, ViolationAdmin)
class CommentAdmin(admin.ModelAdmin):
......
Markdown is supported
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