Author: antoni.aloy
Date: Wed Feb 18 14:39:43 2009
New Revision: 353
Modified:
wiki/FAQ.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/FAQ.wiki
==============================================================================
--- wiki/FAQ.wiki (original)
+++ wiki/FAQ.wiki Wed Feb 18 14:39:43 2009
@@ -37,7 +37,7 @@
== The tree collapse and doesn't expand. What is the problem? ==
- * Check that you have set your site domain name correctly (ie: for
local-host development you will need to set it to 127.0.0.1:8000)
+ * Check that you have set your site domain name correctly (ie: for
local-host development you will need to set it to 127.0.0.1:8000, you use
localhost:8000 you must have an entry called localhost:8000).
==Add a language prefix before the urls==
@@ -52,4 +52,21 @@
lang = lang_id
}}}
-Done.
\ No newline at end of file
+Done.
+
+== I have an error trying to display a page in the admin ==
+
+Check you have added the pages middleware and context processor. You have
to add
+
+{{{
+'pages.middleware.CurrentSiteMiddleware',
+}}}
+
+in the middleware section,MIDDLEWARE_CLASSES, in your settings.py (see the
example that comes with page-cms) and you have to add
+
+{{{
+"pages.context_processors.media",
+}}}
+
+in the TEMPLATE_CONTEXT_PROCESSORS section
+
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---