Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
python_wiki:django_configuration [2018/08/14 23:22] billdozor [Database: MariaDB] |
python_wiki:django_configuration [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 236: | 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 1551: | 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</ | ||
Line 1563: | Line 1570: | ||
Edit the project settings (/ | Edit the project settings (/ | ||
DEBUG = False</ | DEBUG = False</ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Next Steps ======= | ||
+ | |||
+ | [[python_wiki: | ||
---- | ---- | ||