Expose Post, Comment models from example in admin

This commit is contained in:
Audrey Roy 2013-05-18 13:27:10 +02:00
parent 3bfac69a9a
commit daf5e1cfb0

5
example/blog/admin.py Normal file
View file

@ -0,0 +1,5 @@
from django.contrib import admin
from .models import Post, Comment
admin.site.register(Post)
admin.site.register(Comment)