X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/070d93a055b8dfd594664db308b310785d59af70..2881133ed8ebf9317ca216e384e7e13b8619b6a5:/apps/dictionary/urls.py?ds=sidebyside 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'), )