dir template 1

dir template

'DIRS': [BASE_DIR / 'templates'],

Here is what the above code is Doing:
1. We’re telling Django to look for templates in the templates directory.
2. We’re telling Django to look for static files in the static directory.

Similar Posts