Skip to main content

#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 %}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-base-templates-0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_base_templates-0.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

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

Hashes for django-base-templates-0.1.tar.gz
Algorithm Hash digest
SHA256 ac15f9e6dbbf5a3b1bb39258ec8d0d51260067d997872ffbbefcc78a2f67e965
MD5 f186df56b1657edb336e1e9468a5fe88
BLAKE2b-256 bb6bf49b65cce58f813f225aa9c6ef19d984712c6c56f6f73e09624d73dd5ae9

See more details on using hashes here.

File details

Details for the file django_base_templates-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_base_templates-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56f4d91ba1631b64729df2b6a720b723492a74b2a5f17d89fd68baa94fb21973
MD5 ba33d1c93f6ae1e0590b5527c19ce644
BLAKE2b-256 a0e646c29540f91dc7d3f24a9b9102cc5eb5b0bb4ffaacf6470cc4276c35ad62

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page