mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-31 05:20:24 +00:00
Merge pull request #33 from RaphaelKimmig/master
Use relative import for models in example project
This commit is contained in:
commit
ee7431e34d
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