You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a template file is loaded in the controller, `Django` scans all template directories starting from the ones defined by the user, and returns the first match or an error in case the template is not found.
137
+
The theme used to style this starter provides the following files:
When the project requires customization, we need to copy the original file that needs an update (from the virtual environment) and place it in the template folder using the same path.
168
+
169
+
> For instance, if we want to **customize the footer.html** these are the steps:
170
+
171
+
- ✅ `Step 1`: create the `templates` DIRECTORY inside the `home` app
172
+
- ✅ `Step 2`: configure the project to use this new template directory
173
+
-`core/settings.py` TEMPLATES section
174
+
- ✅ `Step 3`: copy the `footer.html` from the original location (inside your ENV) and save it to the `home/templates` DIR
0 commit comments