fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add grammar to tags. Also: respect custom tag slugs on publishing.
[wolnelektury.git]
/
src
/
infopages
/
urls.py
diff --git
a/src/infopages/urls.py
b/src/infopages/urls.py
index
233345a
..
c48ad27
100644
(file)
--- a/
src/infopages/urls.py
+++ b/
src/infopages/urls.py
@@
-2,9
+2,10
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.urls import path
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.urls import path
+from annoy.utils import banner_exempt
from . import views
urlpatterns = [
from . import views
urlpatterns = [
- path('<slug>/',
views.infopage
, name='infopage'),
+ path('<slug>/',
banner_exempt(views.infopage)
, name='infopage'),
]
]