Author: leidel
Date: Sat Dec 6 07:39:23 2008
New Revision: 264
Modified:
trunk/pages/views.py
Log:
Don't allow template changes on the frontend, d'oh
Modified: trunk/pages/views.py
==============================================================================
--- trunk/pages/views.py (original)
+++ trunk/pages/views.py Sat Dec 6 07:39:23 2008
@@ -23,7 +23,7 @@
raise Http404
else:
current_page = pages[0]
- template_name = get_template_from_request(request, current_page)
+ template_name = current_page.get_template()
else:
current_page = None
return template_name, locals()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---