X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/948866cb20453892f057d497b3abf6d4b0677d8e..b95d1183f738648f51099c1f75ace38e0c683456:/apps/libraries/views.py diff --git a/apps/libraries/views.py b/apps/libraries/views.py index f79f2a1ea..83ab6b14e 100644 --- a/apps/libraries/views.py +++ b/apps/libraries/views.py @@ -1,3 +1,7 @@ +# -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.shortcuts import render_to_response, get_object_or_404 from django.template import RequestContext, Template, TemplateSyntaxError @@ -17,4 +21,4 @@ def catalog_view(request, slug): def library_view(request, catalog_slug, slug): context = RequestContext(request) context['library'] = get_object_or_404(Library.objects.filter(slug = slug).filter(catalog__slug = catalog_slug)) - return render_to_response('libraries/library_view.html', context_instance = context) \ No newline at end of file + return render_to_response('libraries/library_view.html', context_instance = context)