Content Management/Development Notes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
* set the variable YOUR_ABSOLUTE_PATH in settings.py to whatever you are using. This sets the path of both /media and /templates.
* set the variable YOUR_ABSOLUTE_PATH in settings.py to whatever you are using. This sets the path of both /media and /templates.
* To require login or a permission for a specific page check this link: http://www.djangoproject.com/documentation/authentication/#the-login-required-decorator
* To require login or a permission for a specific page check this link: http://www.djangoproject.com/documentation/authentication/#the-login-required-decorator
* If you want to look at any of the internal functions for the 0.96 version since some of the function headers differ from the development version which is referenced here's the code repo: http://code.djangoproject.com/browser/django/branches/0.96-bugfixes/

Revision as of 19:39, 12 November 2007