Boilerplate: Add Basic Template And Static File Handling In Django
Introduction
This boilerplate is designed to be run after Boilerplate: Create A New Django Site/Project . It sets up the site/project to be able to use a top level templates directory.
Boilerplate Steps
-
Make sure you've started the Python venv and are in the directory with: manage.py
TODO: Write up how to make sure you're in the proper venv
terminal commands -
Update
DIRS
inside=
in thesite_files/settingsl.py fileChange:
site_files/settings.py - original value: ,
To:
site_files/settings.py - updated line
Next Steps
If you're building a site/project for a boilerplate example the next step is:
Boilerplate Details
-
TODO: Add static files
-
TODO: Add top level templates dir if necessary
~ fin ~