| | 1 | Example directory layout for the virtual host example.com |
| | 2 | |
| | 3 | {{{ |
| | 4 | /example.com |
| | 5 | conf/ |
| | 6 | httpd.conf |
| | 7 | django_project_name/ |
| | 8 | htdocs/ |
| | 9 | local_apps/ |
| | 10 | logs/ |
| | 11 | uploads/ |
| | 12 | templates/ |
| | 13 | }}} |
| | 14 | |
| | 15 | conf/:: |
| | 16 | Configuration files live in this directory, in addition to the django_project that contains the manage.py, settings.py, and urls.py files. |
| | 17 | htdocs/:: |
| | 18 | This will be the root of your MEDIA_URL likely this would be the document root of most sites. |
| | 19 | local_apps/:: |
| | 20 | Custom apps written for this project aka Quick Junk apps that haven't been made multi-site aware. |
| | 21 | logs/:: |
| | 22 | Either the site logs or a link to the directory that contains the site logs. |
| | 23 | uploads/:: |
| | 24 | Files uploaded by applications. |
| | 25 | templates/:: |
| | 26 | This area is used to override templates from your reusable apps. |
| | 27 | |