Author: leidel
Date: Sun Dec 7 08:47:22 2008
New Revision: 268
Modified:
trunk/pages/templatetags/pages_tags.py
Log:
Added forgotten case in placeholder template tag
Modified: trunk/pages/templatetags/pages_tags.py
==============================================================================
--- trunk/pages/templatetags/pages_tags.py (original)
+++ trunk/pages/templatetags/pages_tags.py Sun Dec 7 08:47:22 2008
@@ -243,6 +243,14 @@
widget=bits[3],
as_varname=bits[5],
)
+ # {% placeholder [name] with [widget] parsed as
[varname] %}
+ elif bits[4] == 'parsed':
+ return cls(
+ bits[1],
+ widget=bits[3],
+ as_varname=bits[6],
+ parsed=True,
+ )
elif count == 9:
# {% placeholder [name] on [page] with [widget] parsed as
[varname] %}
return cls(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---