From 4bffd2cec099a05edc28f997a72451525a58b844 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 29 Apr 2020 09:20:15 +0200 Subject: [PATCH] No banners on infopages. --- src/infopages/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'), ] -- 2.20.1