Skip to main content

AdminLTE 2 templates for Django

Project description

PyPi Travis CI Documentation CodeFactor Grade Codecov License - MIT

AdminLTE 2 templates for Django

django-adminlte2-templates provides templates to easily integrate AdminLTE 2 to your Django projects. Also included in the package is an optional AdminLTE-based theme for Django Admin.

For more information, please see the documentation online. Alternatively, the documentation is also available in the docs directory of the project.

This Django module assumes that you have prior experience with AdminLTE 2. Please check the AdminLTE 2 documentation online for your reference.

For a live version of the example project of this app, please check https://djangoadminlte2templates.pythonanywhere.com/.

Requirements

  • Python (2.7, 3.4, 3.5, 3.6, 3.7, 3.8)

  • Django (1.11, 2.0, 2.1, 2.2, 3.0, 3.1)

Installation

Installing using pip:

pip install django-adminlte2-templates

Add adminlte2_templates to INSTALLED_APPS:

INSTALLED_APPS = [
    'adminlte2_templates',
    'adminlte2_admin',  # Optional Django Admin theme
    ..
]

Add adminlte2_templates.context_processors.template to context_processors:

TEMPLATES = [
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'adminlte2_templates.context_processors.template',
            ],
        ...
]

This module provides static files for the following client-side libraries out-of-the-box:

  • AdminLTE 2.4.18 (static/adminlte2/adminlte-2.4.18)

  • Bootstrap 3.4.1 (static/adminlte2/bootstrap-3.4.1)

  • DataTables 1.10.21 (static/adminlte2/datatables-1.10.21)

  • Font Awesome 4.7.0 (static/adminlte2/fontawesome-4.7.0)

  • HTML5Shiv 3.7.3 (static/adminlte2/html5shiv-3.7.3)

  • jQuery 3.5.1 (static/adminlte2/jquery-3.5.1)

  • Respond.js 1.4.2 (static/adminlte2/respond-1.4.2)

  • Select2 4.0.13 (static/adminlte2/select2-4.0.13)

Quickstart

Head to the Quickstart section of the documentation online for an example usage of django-adminlte2-templates.

Also, an example Django project example_project is included in the module for your reference.

Project details


Download files

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

Source Distribution

django-adminlte2-templates-1.4.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

django_adminlte2_templates-1.4.0-py2.py3-none-any.whl (1.6 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-adminlte2-templates-1.4.0.tar.gz.

File metadata

  • Download URL: django-adminlte2-templates-1.4.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for django-adminlte2-templates-1.4.0.tar.gz
Algorithm Hash digest
SHA256 d3fcc00109271851ca13b75a3b5e22b05cac7f313b67ac40f154506974b504f1
MD5 f99b0e79ec65daf3acadbd8862505d87
BLAKE2b-256 0972e80fcaad8de73419f7f3040ee1b1d991efa7fc01705d4acbaedd56070c08

See more details on using hashes here.

File details

Details for the file django_adminlte2_templates-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_adminlte2_templates-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for django_adminlte2_templates-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 73783b8d73815b77ab96b426792f7cc076be4f9597b56e7fadbc7f1c45414d41
MD5 60600d5528d9a8789fd482b4ef9bbea4
BLAKE2b-256 25248da6ec117b05dd95f1a8144f829190f6aa398141c0ba96cd7135f2d451b6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page