fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support longer tag names.
[wolnelektury.git]
/
apps
/
dictionary
/
urls.py
diff --git
a/apps/dictionary/urls.py
b/apps/dictionary/urls.py
index
435e0bd
..
2320f47
100755
(executable)
--- 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.
#
# 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',
urlpatterns = patterns('dictionary.views',
- url(r'^$', 'letter_notes', name='dictionary_notes'),
- url(r'(?P<letter>[a-z]|0-9)/$', 'letter_notes', name='dictionary_notes'),
+ url(r'^$', NotesView.as_view(), name='dictionary_notes'),
)
)