From f756b16ce8dc889ce93b946ba03a699328b85ff2 Mon Sep 17 00:00:00 2001 From: Raphael Kimmig Date: Sat, 18 May 2013 13:12:12 +0200 Subject: [PATCH] use relative imports in example --- example/blog/admin2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/blog/admin2.py b/example/blog/admin2.py index 5f7f0ee..cd0c626 100644 --- a/example/blog/admin2.py +++ b/example/blog/admin2.py @@ -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