mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Fixed urlpattern warning.
This commit is contained in:
parent
ba0cbcd7c5
commit
14d014bcba
3 changed files with 5 additions and 6 deletions
|
@ -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(
|
||||||
'',
|
'',
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
|
@ -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('',
|
||||||
|
|
Loading…
Reference in a new issue