make unit tests run again

This commit is contained in:
Craig Blaszczyk 2011-09-12 16:05:15 +01:00
parent 36759f733e
commit 335583bb11

View File

@ -1,4 +1,4 @@
from djangorestframework.mixins import ListModelMixin, InstanceMixin
from django.conf.urls.defaults import patterns, url, include from django.conf.urls.defaults import patterns, url, include
from django.views.decorators.csrf import csrf_exempt from django.views.decorators.csrf import csrf_exempt
@ -10,6 +10,7 @@ class ApiEntry(object):
self.prefix = '' self.prefix = ''
def get_urls(self): def get_urls(self):
from djangorestframework.mixins import ListModelMixin, InstanceMixin
from django.conf.urls.defaults import patterns, url from django.conf.urls.defaults import patterns, url
if self.prefix == '': if self.prefix == '':