Author: batiste.bieler
Date: Sun May 10 08:24:41 2009
New Revision: 524

Modified:
    trunk/pages/views.py

Log:
Forgot to uncomment

Modified: trunk/pages/views.py
==============================================================================
--- trunk/pages/views.py        (original)
+++ trunk/pages/views.py        Sun May 10 08:24:41 2009
@@ -31,8 +31,8 @@

      if slug:
          current_page = get_page_from_slug(slug, request, lang)
-        """if request.META['PATH_INFO'] != current_page.get_absolute_url():
-            raise Http404"""
+        if request.META['PATH_INFO'] != current_page.get_absolute_url():
+            raise Http404
      elif pages:
          current_page = pages[0]


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