X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/60b06883b6d5a336ef47c01103ec1ce25aafae69..ef759fbfa694cdddd1b24027a6f8792302add9b8:/apps/dictionary/urls.py?ds=inline diff --git a/apps/dictionary/urls.py b/apps/dictionary/urls.py index 435e0bd6b..1a33af966 100755 --- a/apps/dictionary/urls.py +++ b/apps/dictionary/urls.py @@ -3,10 +3,10 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django.conf.urls.defaults import * - +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'), + url(r'(?P[a-z]|0-9)/$', NotesView.as_view(), name='dictionary_notes'), )