django-adminlte
This package is an integration of the AdminLTE template as a Django application.
It is intended to be a foundation for the generation of the base template file of new Django project.
This project is currently in a very early development state: Please note that defined {% block %} sections may change in further development releases before reaching stability. Please consider this before adopting this module for your own projects.
Usage
The application must be added in the INSTALLED_APPS list within the
project settings file.
INSTALLED_APPS = [
...
'adminlte',
]
It is a good practice to write a project base.html file that extends the
adminlte's application base template and define the fixed elements for the
project there.
{% extends "adminlte/base.html" %}
Please refer to the files adminlte/base_template.html and
adminlte/base.html to retrieve the block names. This will be documented
at a later stage, when the template will have reached stability.
The template requires the django-menu-gauteron package to dynamically generate the navigation menu.
Demo
This package includes all demonstration/example files packaged with the AdminLTE template. These examples have been "Django-ized".
These files can easily be tested by refering to the urls and menu files.
In the project settings file, add:
INSTALLED_APPS = [
...
'adminlte',
]
In the project urls.py, include:
from django.urls import include, path
urlpatterns = [
...
path('demo/', include('adminlte.demo.urls', namespace='adminlte-demo')),
]
In the project 'menu.py', include:
from django_menu import include
menu = [
...
*include('adminlte.demo.menu'),
]
The demo files can be browsed using http://127.0.0.1:8000/demo/ (if your
server runs on 127.0.0.1:8000 and the configured path is demo/).
The example templates can be used as models to generate your own project base template.
Requirements
This package requires
- Django 3.8 or above (not tested with below versions)
- django-menu-gauteron
Contribution
Any contribution (code, requests, advices, ...) is very welcome. No project is (or at least should be) a one-man show!
This modest project can get more ambitious thanks to your ideas.
Metadata
Release files for django-adminlte-amigne 0.0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-adminlte_amigne-0.0.1.0.tar.gz | 3.9 MB | Without provenance | Details for django-adminlte_amigne-0.0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_adminlte_amigne-0.0.1.0-py3-none-any.whl | Python 3 | none | any | Details for django_adminlte_amigne-0.0.1.0-py3-none-any.whl |
Total release size: 8.0 MB
Release files / django-adminlte_amigne-0.0.1.0.tar.gz
| Download URL | django-adminlte_amigne-0.0.1.0.tar.gz |
|---|---|
| Size | 3.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7458de821eb0f088f03263b3875fa6970773bd87b98c3f795c42691b15a85c5e
|
|
BLAKE2b-256 checksum How to use checksums |
f208983039b4bc4ff154a77eb8db8998e549d271201b42ed6242e953743d77cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
|
Release files / django_adminlte_amigne-0.0.1.0-py3-none-any.whl
| Download URL | django_adminlte_amigne-0.0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34308b41c387f6b0fc2db4f056d9e77ecbc39504ac867562c7048b84f9a076ee
|
|
BLAKE2b-256 checksum How to use checksums |
00bd879602f77b20a8c92276d8d69a6fe7a5f6292c1ec313edacf02dbe62c0cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2
|
Security for django-adminlte-amigne 0.0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.