mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
use relative imports in example
This commit is contained in:
parent
e140ab94cc
commit
f756b16ce8
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
from djadmin2.models import Admin2
|
||||
|
||||
# Import your custom models
|
||||
from blog.models import Post, Comment
|
||||
from .models import Post, Comment
|
||||
|
||||
# Instantiate the Admin2 class
|
||||
# Then attach the admin2 object to your model
|
||||
|
|
|
|||
Loading…
Reference in a new issue