A reusable Django accounts app.
Project description
Configuring Template Base in Django
This guide will help you configure a base template path in your Django settings and use it in your templates.
Step 1: Define TEMPLATE_BASE in settings.py
Add the following line to your settings.py file:
# settings.py
TEMPLATE_BASE = 'base.html' # Define your base template path
Step 2: Add the Context Processor to settings.py
# settings.py
TEMPLATES = [
{
.....
'OPTIONS': {
'context_processors': [
.......
'voicebot_accounts.context_processors.template_base', # Add your custom context processor here
.......
],
},
.....
},
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
voicebot-accounts-0.2.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voicebot-accounts-0.2.tar.gz.
File metadata
- Download URL: voicebot-accounts-0.2.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be3a59449de21add69ccada65e9ac94586645cba51010741fdc83d3e86caece6
|
|
| MD5 |
132928f0a5cbd5e789e9164aeb821b3c
|
|
| BLAKE2b-256 |
106860a909466109d2ecd86047e52e9d633eaf2d645c493b473f6549ce949aba
|
File details
Details for the file voicebot_accounts-0.2-py3-none-any.whl.
File metadata
- Download URL: voicebot_accounts-0.2-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7b95b2579831f7501c192f2b98a5c94a0956488d59509f9affedd813aabe6e6
|
|
| MD5 |
033ec699a7d0586afecc492abb7a634c
|
|
| BLAKE2b-256 |
d110cff38543eec12d9c17cc240deccbd6d1e33e66b820c0cb0e65aa54ea1739
|