X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f906193db2ec44590f57beae2e8ee2df76117b7b..f230a3850ec568f2281f085a076a6185d8c82b5c:/apps/infopages/views.py diff --git a/apps/infopages/views.py b/apps/infopages/views.py index d457653d1..e1e745148 100644 --- a/apps/infopages/views.py +++ b/apps/infopages/views.py @@ -9,8 +9,6 @@ from infopages.models import InfoPage def infopage(request, slug): - page = InfoPage.objects.get(slug=slug) - page = get_object_or_404(InfoPage, slug=slug) rc = RequestContext(request) left_column = Template(page.left_column).render(rc)