Skip to main content

This Django application is port the AdminLTE Template for easy integration into Django Framework

Project description

Django-AdminLTE-Full

This Django application is port the AdminLTE for easy integration into Django Framework.

Installation

  1. Install the latest stable version:

    $ pip install django-adminlte-full

    or install development version (bugs are possible):

    $ pip install https://github.com/kyzima-spb/django-adminlte-full/archive/dev-master.zip
  2. In the settings, add crispy_forms and adminlte_full to your INSTALLED_APPS, like this:

    INSTALLED_APPS = [
        ...
        'crispy_forms',
        'adminlte_full',
    ]
  3. In the settings, set the value of the CRISPY_TEMPLATE_PACK option as 'bootstrap4':

    CRISPY_TEMPLATE_PACK = 'bootstrap4'
  4. In the settings, add adminlte to the list of context processors, like this:

    TEMPLATES = [
        {
            ...
            'OPTIONS': {
                'context_processors': [
                    ...
                    'adminlte_full.context_processors.adminlte',
                ],
            },
        },
    ]
  5. Include the URLconf in your project urls.py like this:

    path('', include('adminlte_full.urls'))

Documentation

Continue reading the documentation.

CHANGELOG

0.2.0

  • Upgrading to Bootstrap 4 and AdminLTE 3.

  • Full integration with Django authentication system.

  • Added pages for 400, 403, 404 and 500 errors.

  • The django-bootstrap dependency has been replaced with a more functional django-crispy-form.

  • Color skins for sidebar, navbar and logo.

  • The manager provides the following decorators for loaders:

    • manager.@home_page_getter - sets a callback to get the home page.

    • @manager.menu_loader - sets the callback for loading a menu from the database or other source.

    • @manager.messages_loader - sets the callback for loading a messages from the database or other source.

    • @manager.notifications_loader - sets the callback for loading a notifications from the database or other source.

    • @manager.tasks_loader - sets the callback for loading a tasks from the database or other source.

    • @manager.user_getter - sets a callback to get the original user object. It has a default implementation.

  • The extension depends on the adminlte-base package, into which all the basic logic has been moved.

  • The application menu is now stored in the database.

  • The following context managers have been added:

    • config - getting the configuration parameter in the template.

    • ThemeColor - color styles.

    • ThemeLayout - layout Options.

    • adminlte_user - current user.

  • The following template filters are added:

    • gravatar - getting an avatar using the Gravatar service.

    • humanize - date output in human-readable format.

  • Almost all classes, functions and templates from the previous release are removed. All signals are also deleted.

0.1.1

The release was added only to maintain backward compatibility. All new code will no longer work with the old version.

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-adminlte-full-0.2.0.tar.gz (18.7 MB view details)

Uploaded Source

Built Distribution

django_adminlte_full-0.2.0-py3-none-any.whl (19.8 MB view details)

Uploaded Python 3

File details

Details for the file django-adminlte-full-0.2.0.tar.gz.

File metadata

  • Download URL: django-adminlte-full-0.2.0.tar.gz
  • Upload date:
  • Size: 18.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for django-adminlte-full-0.2.0.tar.gz
Algorithm Hash digest
SHA256 847188bacf6d6817fe43c4a116b819b637dae0a0504878d81d0d493546a23280
MD5 fcb1e37bc89163c3dc1cc66bd3e41816
BLAKE2b-256 d1c5328339133039fb04207813bf22d02501a06cc82723b6bf7ae943d6723bb1

See more details on using hashes here.

Provenance

File details

Details for the file django_adminlte_full-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: django_adminlte_full-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for django_adminlte_full-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9de126fc58fe08fadb58af69fdbaa18566a6bc45f228ce0bfa8e5eeccc648506
MD5 e1efecfd575aecbcc96c26efac963a29
BLAKE2b-256 b47efb4d2b556d42b32bac756c7c524ec4cb0059472e2880705e7ebf8639eb96

See more details on using hashes here.

Provenance

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