mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Use compat import of urlpatterns
This commit is contained in:
parent
4b32cda5a8
commit
eefd5b05fb
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Blank URLConf just to keep runtests.py happy.
|
||||
"""
|
||||
from django.conf.urls.defaults import *
|
||||
from rest_framework.compat import patterns
|
||||
|
||||
urlpatterns = patterns('',
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# from django.conf.urls.defaults import patterns, url
|
||||
# from rest_framework.compat import patterns, url
|
||||
# from django.forms import ModelForm
|
||||
# from django.contrib.auth.models import Group, User
|
||||
# from rest_framework.resources import ModelResource
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from django.conf.urls.defaults import url
|
||||
from rest_framework.compat import url
|
||||
from rest_framework.settings import api_settings
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user