Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9f3f2bf1e0
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (8 sloc) 0.295 kB
#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4
from django.contrib import admin
from .models import Message
class MessageAdmin(admin.ModelAdmin):
list_display = ("text", "direction", "who", "date")
list_filter = ("direction", "date")
admin.site.register(Message, MessageAdmin)
Jump to Line
Something went wrong with that request. Please try again.