From 335583bb111c1902491e6d519728139d061aa9bd Mon Sep 17 00:00:00 2001 From: Craig Blaszczyk Date: Mon, 12 Sep 2011 16:05:15 +0100 Subject: [PATCH] make unit tests run again --- djangorestframework/builtins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/djangorestframework/builtins.py b/djangorestframework/builtins.py index 9c029ed81..55d257ca5 100644 --- a/djangorestframework/builtins.py +++ b/djangorestframework/builtins.py @@ -1,4 +1,4 @@ -from djangorestframework.mixins import ListModelMixin, InstanceMixin + from django.conf.urls.defaults import patterns, url, include from django.views.decorators.csrf import csrf_exempt @@ -10,6 +10,7 @@ class ApiEntry(object): self.prefix = '' def get_urls(self): + from djangorestframework.mixins import ListModelMixin, InstanceMixin from django.conf.urls.defaults import patterns, url if self.prefix == '':