X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/070d93a055b8dfd594664db308b310785d59af70..4bb3e264dc9d9953c6a1ffcb0290a2ba0e0c094b:/apps/dictionary/urls.py?ds=inline diff --git a/apps/dictionary/urls.py b/apps/dictionary/urls.py index 84a30d7e0..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])/$', 'letter_notes', name='dictionary_notes'), + url(r'^$', NotesView.as_view(), name='dictionary_notes'), )