Author: batiste.bieler
Date: Tue Apr  7 01:59:51 2009
New Revision: 437

Modified:
    wiki/InstallDjangoPageCMS.wiki

Log:
Edited wiki page through web user interface.

Modified: wiki/InstallDjangoPageCMS.wiki
==============================================================================
--- wiki/InstallDjangoPageCMS.wiki      (original)
+++ wiki/InstallDjangoPageCMS.wiki      Tue Apr  7 01:59:51 2009
@@ -81,9 +81,9 @@

  This CMS use the PAGE_LANGUAGES setting. By default PAGE_LANGUAGES value  
is set to settings.LANGUAGES, but you certainly want to set this setting  
yourself to include only the languages you want to support.

-Django use settings.LANGUAGE constant for setting the  
request.LANGUAGE_CODE that is used by this CMS. So if the language you want  
to support is not present in settings.LANGUAGE, request.LANGUAGE_CODE will  
not be set correctly with your language.
+Django use settings.LANGUAGES constant for setting the  
request.LANGUAGE_CODE that is used by this CMS. So if the language you want  
to support is not present in settings.LANGUAGES, request.LANGUAGE_CODE will  
not be set correctly with your language.

-A possible workaround is to redefine settings.LANGUAGE. For example you  
could do :
+A possible workaround is to redefine settings.LANGUAGES. For example you  
could do :

  {{{
  # here is all the languages you want to be supported by the CMS
@@ -113,7 +113,7 @@

  ===Template context processors and Middlewares===

-You *must* have these context processors into your  
TEMPLATE_CONTEXT_PROCESSORS:
+You *must* have these context processors into your  
TEMPLATE_CONTEXT_PROCESSORS setting:

  {{{
  TEMPLATE_CONTEXT_PROCESSORS = (
@@ -128,7 +128,7 @@
  )
  }}}

-You *must* have these middleware into your MIDDLEWARE_CLASSES settings:
+You *must* have these middleware into your MIDDLEWARE_CLASSES setting:

  {{{
  MIDDLEWARE_CLASSES = (

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