Author: batiste.bieler
Date: Wed Jul 15 07:24:38 2009
New Revision: 607

Modified:
    wiki/BackwardsIncompatibleChanges.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/BackwardsIncompatibleChanges.wiki
==============================================================================
--- wiki/BackwardsIncompatibleChanges.wiki      (original)
+++ wiki/BackwardsIncompatibleChanges.wiki      Wed Jul 15 07:24:38 2009
@@ -3,6 +3,30 @@

  = Backwards Incompatible Changes =

+=== r598 (Jul 08, 2009) ===
+
+The signature of the default view has changed:
+
+{{{
+-def details(request, slug=None, lang=None):
++def details(request, path=None, lang=None):
+}}}
+
+Consequently, if you had add a customized urls.py you will need to update  
it to
+
+{{{
+if settings.PAGE_USE_LANGUAGE_PREFIX:
+    urlpatterns += patterns('',
+        url(r'^(?P<lang>[-\w]+)/(?P<path>.*)$', details,
+            name='pages-details-by-slug'),
+    )
+else:
+    urlpatterns += patterns('',
+        url(r'^(?P<path>.*)$', details,
+            name='pages-details-by-slug'),
+    )
+}}}
+
  === r569 (Jun 16, 2009) ===

  Now overriding a template block containing with a placeholder will work  
remove it from the admin. In example:

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