use relative imports in example

This commit is contained in:
Raphael Kimmig 2013-05-18 13:12:12 +02:00
parent e140ab94cc
commit f756b16ce8

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