Author: batiste.bieler
Date: Wed May 13 06:58:40 2009
New Revision: 526

Modified:
    trunk/pages/templatetags/pages_tags.py

Log:
Fix issue 101

Modified: trunk/pages/templatetags/pages_tags.py
==============================================================================
--- trunk/pages/templatetags/pages_tags.py      (original)
+++ trunk/pages/templatetags/pages_tags.py      Wed May 13 06:58:40 2009
@@ -27,7 +27,7 @@

      # if the page is a SafeUnicode, try to use it like a slug
      if isinstance(page, SafeUnicode):
-        c = Content.objects.filter(type='slug', lang=lang, body=page)
+        c = Content.objects.filter(type='slug', language=lang, body=page)
          if len(c):
              page = c[0].page
          else:

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to