Skip to content

Commit

Permalink
Support django 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Saurabh authored and Saurabh committed Jun 7, 2019
1 parent ffe98b6 commit b9e0435
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions nicedit/urls.py
Original file line number Diff line number Diff line change
@@ -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'),
]

0 comments on commit b9e0435

Please sign in to comment.