symposion_app/symposion_project/apps/cms/views.py
2012-02-05 20:34:49 -05:00

13 lines
323 B
Python

from django.shortcuts import render_to_response
from django.template import RequestContext
from cms.models import Page
def page(request, slug):
page = Page.objects.get(path=slug)
return render_to_response("cms/page_detail.html", {
"page": page,
}, context_instance=RequestContext(request))