Author: david.michon
Date: Wed Apr 1 02:27:07 2009
New Revision: 426
Modified:
trunk/pages/utils.py
Log:
correct the import of the PlaceHolderClass to get the object from the right
place. Otherwise it will not compare the currently processed node correctly
with the isinstance function
Modified: trunk/pages/utils.py
==============================================================================
--- trunk/pages/utils.py (original)
+++ trunk/pages/utils.py Wed Apr 1 02:27:07 2009
@@ -39,7 +39,7 @@
"""
# to avoid circular import
# must be imported like this for isinstance
- from django.templatetags.pages_tags import PlaceholderNode
+ from pages.templatetags.pages_tags import PlaceholderNode
for node in nodelist:
if isinstance(node, PlaceholderNode):
already_in_plist = False
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---