diff options
-rw-r--r-- | app/pages/views.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/pages/views.py b/app/pages/views.py deleted file mode 100644 index a568f3b..0000000 --- a/app/pages/views.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.shortcuts import render_to_response,get_object_or_404 -from django.template import RequestContext -from django.conf import settings - - -from pages.models import Page - -def page(request,slug): - obj = get_object_or_404(Page, slug__exact=slug) - context = { 'object': obj,} - return render_to_response(["details/%s.html" % obj.slug, 'details/page.html'], context, context_instance = RequestContext(request)) - - |