mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 21:44:04 +03:00
make unit tests run again
This commit is contained in:
parent
36759f733e
commit
335583bb11
|
@ -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 == '':
|
||||
|
|
Loading…
Reference in New Issue
Block a user