X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1a6872f821959ade6a7382012338d628a4244877..ae60b2a3949e96357477cc04f90fd0873cee8a92:/apps/libraries/views.py?ds=sidebyside diff --git a/apps/libraries/views.py b/apps/libraries/views.py deleted file mode 100644 index 45e60ddbf..000000000 --- a/apps/libraries/views.py +++ /dev/null @@ -1,10 +0,0 @@ -from django.shortcuts import render_to_response, get_object_or_404 -from django.template import RequestContext, Template, TemplateSyntaxError - -from libraries.models import Catalog - - -def main_view(request, slug): - context = RequestContext(request) - context['catalog'] = get_object_or_404(Catalog.objects.filter(slug = slug).select_related()) - return render_to_response('libraries/main_view.html', context_instance = context) \ No newline at end of file