Skip to content

Commit

Permalink
adds an admin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
LGD-Fr committed Sep 3, 2015
1 parent 9829e22 commit 553f1f2
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions paiji2_shoutbox/admin.py
@@ -1,3 +1,14 @@
# from django.contrib import admin
from django.contrib import admin

# Register your models here.
from paiji2_shoutbox.models import Note


class ShoutboxAdmin(admin.ModelAdmin):
list_display = (
'author',
'message',
'posted_at',
)


admin.site.register(Note, ShoutboxAdmin)

0 comments on commit 553f1f2

Please sign in to comment.