Getting ready

Create the templates directory in your project and set TEMPLATE_DIRS in the settings to include it, as shown here:

# project/settings.py
TEMPLATES = [{
# ...
'DIRS': [
# ...
os.path.join(BASE_DIR, "templates"),
],
}]
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.38.125