X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5411431fe8c247572635a206cc977816dded415c..f82c33291d3bf97d7447aba236940bdfe560f703:/apps/dictionary/urls.py?ds=inline diff --git a/apps/dictionary/urls.py b/apps/dictionary/urls.py index 435e0bd6b..2320f4773 100755 --- a/apps/dictionary/urls.py +++ b/apps/dictionary/urls.py @@ -2,11 +2,10 @@ # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from django.conf.urls.defaults import * - +from django.conf.urls import patterns, url +from dictionary.views import NotesView urlpatterns = patterns('dictionary.views', - url(r'^$', 'letter_notes', name='dictionary_notes'), - url(r'(?P[a-z]|0-9)/$', 'letter_notes', name='dictionary_notes'), + url(r'^$', NotesView.as_view(), name='dictionary_notes'), )