Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
python_wiki:django_configuration [2018/08/03 16:45] billdozor |
python_wiki:django_configuration [2018/08/14 23:47] billdozor [Django: Jquery] |
||
---|---|---|---|
Line 28: | Line 28: | ||
* Run secure setup< | * Run secure setup< | ||
* Prompts for the following: | * Prompts for the following: | ||
+ | * Current password for root (should be none, just press enter) | ||
* Set database root password | * Set database root password | ||
* Remove anonymous users | * Remove anonymous users | ||
Line 235: | Line 236: | ||
* Create logging directory and setup ownership/ | * Create logging directory and setup ownership/ | ||
chown :apache / | chown :apache / | ||
- | chmod g+rwx / | + | chmod g+rwxs / |
===== Admin Interface ===== | ===== Admin Interface ===== | ||
Line 906: | Line 907: | ||
< | < | ||
<tr class=" | <tr class=" | ||
- | <th class=" | + | <th class=" |
<th class=" | <th class=" | ||
<th class=" | <th class=" | ||
<th class=" | <th class=" | ||
<th class=" | <th class=" | ||
- | <th class=" | + | <th class=" |
</tr> | </tr> | ||
</ | </ | ||
Line 1550: | Line 1551: | ||
<a href="#" | <a href="#" | ||
+ | ---- | ||
+ | |||
+ | ====== Django: Static Files ====== | ||
+ | |||
+ | No matter which steps from above you skip, you absolutely need to collect static files to copy them into the location Apache expects them to be. | ||
+ | |||
+ | This is for Apache' | ||
* Collect static files< | * Collect static files< | ||
python manage.py collectstatic</ | python manage.py collectstatic</ |