mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-09 01:11:04 +00:00
Expose Post, Comment models from example in admin
This commit is contained in:
parent
3bfac69a9a
commit
daf5e1cfb0
1 changed files with 5 additions and 0 deletions
5
example/blog/admin.py
Normal file
5
example/blog/admin.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from .models import Post, Comment
|
||||
|
||||
admin.site.register(Post)
|
||||
admin.site.register(Comment)
|
||||
Loading…
Reference in a new issue