mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 04:24:00 +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.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 == '':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user