Fixed urlpattern warning.

This commit is contained in:
Martin Mahner 2013-11-24 19:46:47 +01:00
parent ba0cbcd7c5
commit 14d014bcba
3 changed files with 5 additions and 6 deletions

View file

@ -1,5 +1,4 @@
from django.conf.urls.defaults import url, patterns, include from django.conf.urls import url, patterns, include
from django.views.generic import TemplateView
urlpatterns = patterns( urlpatterns = patterns(
'', '',

View file

@ -1,4 +1,4 @@
from django.conf.urls.defaults import url, patterns from django.conf.urls import url, patterns
urlpatterns = patterns('dpaste.views', urlpatterns = patterns('dpaste.views',
url(r'^$', 'snippet_new', name='snippet_new'), url(r'^$', 'snippet_new', name='snippet_new'),

View file

@ -1,4 +1,4 @@
from django.conf.urls.defaults import url, patterns from django.conf.urls import url, patterns
from ..views import snippet_api from ..views import snippet_api
urlpatterns = patterns('', urlpatterns = patterns('',