Adding base templates for django apps
Project description
#Django template including base
This packages provides template element (HTML files) for django projects. Made by Hizart.soft H._T@2022
##Installation
Install the packages using pip:
```bash
pip install django-base-templates
##Usage
-. Just follow:
#Add 'django_template_elements' to the INSTALLED_APPS in your Django project's settings.py:
```bash
INSTALLED_APPS = [
# ...
'django_template_elements',
]
#Update the TEMPLATES configuration in your Django project's settings.py:
```bash
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'django_base_templates', 'templates')],
# ...
},
]
#Use the provided template elements in your Django project's templates:
```bash
{% extends 'django_base_templates/base/base.html' %}
{% block content %}
<section>
<h2>This is the content of the index page</h2>
<!-- Add your specific content here -->
</section>
{% endblock %}
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
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 django-base-templates-0.1.tar.gz.
File metadata
- Download URL: django-base-templates-0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac15f9e6dbbf5a3b1bb39258ec8d0d51260067d997872ffbbefcc78a2f67e965
|
|
| MD5 |
f186df56b1657edb336e1e9468a5fe88
|
|
| BLAKE2b-256 |
bb6bf49b65cce58f813f225aa9c6ef19d984712c6c56f6f73e09624d73dd5ae9
|
File details
Details for the file django_base_templates-0.1-py3-none-any.whl.
File metadata
- Download URL: django_base_templates-0.1-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f4d91ba1631b64729df2b6a720b723492a74b2a5f17d89fd68baa94fb21973
|
|
| MD5 |
ba33d1c93f6ae1e0590b5527c19ce644
|
|
| BLAKE2b-256 |
a0e646c29540f91dc7d3f24a9b9102cc5eb5b0bb4ffaacf6470cc4276c35ad62
|