X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/60b06883b6d5a336ef47c01103ec1ce25aafae69..2f70273b4c49f8ac5387a912d02eb39ab6908890:/apps/dictionary/urls.py 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'), )