Author: jtauber
Date: Sun Sep 28 08:01:17 2008
New Revision: 971
Modified:
trunk/local_apps/account/templatetags/other_service_tags.py
Log:
fixed named clash between tag function and model helper function
Modified: trunk/local_apps/account/templatetags/other_service_tags.py
==============================================================================
--- trunk/local_apps/account/templatetags/other_service_tags.py (original)
+++ trunk/local_apps/account/templatetags/other_service_tags.py Sun Sep 28
08:01:17 2008
@@ -23,9 +23,9 @@
return value
[EMAIL PROTECTED]
-def other_service(parser, token):
- bits = token.contents.split(' ')
[EMAIL PROTECTED](name='other_service')
+def other_service_tag(parser, token):
+ bits = token.split_contents()
if len(bits) == 3: # {% other_service user key %}
user = parser.compile_filter(bits[1])
key = bits[2]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---