Use compat import of urlpatterns

This commit is contained in:
Tom Christie 2012-12-27 20:20:01 +00:00
parent 4b32cda5a8
commit eefd5b05fb
3 changed files with 3 additions and 3 deletions

View File

@ -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('',
)

View File

@ -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

View File

@ -1,4 +1,4 @@
from django.conf.urls.defaults import url
from rest_framework.compat import url
from rest_framework.settings import api_settings