Revision e5cbe795
b/docs/source/install.rst | ||
---|---|---|
20 | 20 |
|
21 | 21 |
|
22 | 22 |
Project Settings (settings.py) |
23 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
23 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
24 |
Settings.py file should not be edited, the variables that need to be altered are in local_settings.py.dist. |
|
25 |
To set up Djnro one must copy local_settings.py.dist, to local_settings.py and alter the settings according to |
|
26 |
the configuration of the host. |
|
24 | 27 |
|
25 | 28 |
The following variables/settings need to be altered or set: |
26 | 29 |
|
... | ... | |
301 | 304 |
|
302 | 305 |
Upgrade Instructions |
303 | 306 |
^^^^^^^^^^^^^^^^^^^^ |
304 |
* Copy settings.py.dist to settings.py and fill the configuration according to the settings.py from your v0.8 instance. Changes are:
|
|
307 |
* Backup your settings.py file.
|
|
305 | 308 |
|
306 |
* 'django.core.context_processors.auth' is replaced with 'django.contrib.auth.context_processors.auth' in CONTEXT_PROCESSORS |
|
307 |
|
|
308 |
* 'django.contrib.staticfiles' is added in settings INSTALLED_APPS |
|
309 |
* Copy loca_settings.py.dist to local_settings.py and fill the configuration according to the settings.py from your v0.8 instance. |
|
309 | 310 |
|
310 | 311 |
* edit the apache configuration in order to work with the new location of wsgi and |
311 | 312 |
set the python-path attribute. |
312 | 313 |
|
313 | 314 |
* remove old wsgi file '/path/to/djnro/apache/django.wsgi' |
314 | 315 |
|
316 |
* remove old settings.py.dist |
|
317 |
|
|
315 | 318 |
* remove django-extensions from `INSTALLED_APPS` |
316 | 319 |
|
317 | 320 |
* Add timeout in cache configuration |
Also available in: Unified diff