Merge pull request #33 from RaphaelKimmig/master

Use relative import for models in example project
This commit is contained in:
Audrey Roy 2013-05-18 04:24:32 -07:00
commit ee7431e34d

View file

@ -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