From: Radek Czajka Date: Wed, 29 Apr 2020 07:20:15 +0000 (+0200) Subject: No banners on infopages. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4bffd2cec099a05edc28f997a72451525a58b844 No banners on infopages. --- diff --git a/src/infopages/urls.py b/src/infopages/urls.py index 233345a5f..c48ad279e 100644 --- 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 +from annoy.utils import banner_exempt from . import views urlpatterns = [ - path('/', views.infopage, name='infopage'), + path('/', banner_exempt(views.infopage), name='infopage'), ]