X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f59e7c3de6bd0f85a61a4d9481db60cd7369ae92..eb59143b0d1b21cfcbe1b7067f027d768fa88fcc:/apps/infopages/views.py?ds=sidebyside 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)