diff --git a/nicedit/urls.py b/nicedit/urls.py index 4c40177..1294f89 100644 --- a/nicedit/urls.py +++ b/nicedit/urls.py @@ -1,10 +1,9 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url +from .views import upload -__all__ = ('urlpatterns',) -urlpatterns = patterns( - 'nicedit.views', - url(r'^upload/$', 'upload', name='nicedit_upload'), -) +urlpatterns = [ + url(r'^upload/$', upload, name='nicedit_upload'), +]