tehfink avatar tehfink committed 37825b9

updated readme

Comments (0)

Files changed (1)

 Name: cms-context_processors
 Description: for django-cms. defines various context processors for inclusion in apps attached to django-cms pages; initially created because because 'sites' was not being passed to photologue template contexts for some reason
 Download: http://bitbucket.org/tehfink/cms-context_processors/
-- django-cms-2.0: rev 63a124cfda6c10b9f4831da0627a9f80b64e675c
-- django: 1.1
+- django-cms-2: 2.0.2
+- django: 1.1.1
-Last tested with:
-- django-cms-2.0: rev 63a124cfda6c10b9f4831da0627a9f80b64e675c
-- django: rev 11600
+- this release is only compatible with django-cms 2.0.2
 - make sure requirements are installed and properly working
 - add cms_context_processors to python path
 - add "cms_context_processors.context_processors.XXX" to INSTALLED_APPS, where XXX is the processor you want (at the moment there is only one: 'sites')
 - reference context processor in views/contexts as necessary
 - add more context processors!
+in a template:
+{{ site.name }}
 This is not great code, but it works. Please tell me how to make it better!
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.