Content Management/Development Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} |
|||
* 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/ |
* 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/ |
||
[[Category:Content]] |
|||
[[Category:Content Management]] |
Revision as of 00:16, 1 February 2008
This article is a stub. You can help the OLPC project by expanding it.
- 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
- 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/