django-adminlte2-pdq


Namedjango-adminlte2-pdq JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/DJBarnes/django-adminlte2-pdq
SummaryA Django app that takes all of the work out of making a beautiful and functional web application pretty darn quickly (PDQ) using the AdminLTE2 theme.
upload_time2023-09-17 19:45:04
maintainer
docs_urlNone
authorDavid Barnes
requires_python>=3.8
licenseMIT License Copyright (c) 2023 David Barnes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords adminlte2 django fast pdq rapid speed style theme
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Django-AdminLTE2-PDQ

[![Documentation Status](https://readthedocs.org/projects/django-adminlte2-pdq/badge/?version=latest)](https://django-adminlte2-pdq.readthedocs.io/en/latest/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/django-adminlte2-pdq?color=blue)](https://img.shields.io/pypi/v/django-adminlte2-pdq?color=blue)
[![Python Versions](https://img.shields.io/badge/python-%3E%3D3.8-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.8-brightgreen)
[![Django Versions](https://img.shields.io/badge/django-%3E%3D3.2-brightgreen)](https://img.shields.io/badge/django-%3E%3D3.2-brightgreen)
[![GitHub](https://img.shields.io/github/license/DJBarnes/django-adminlte2-pdq)](https://img.shields.io/github/license/DJBarnes/django-adminlte2-pdq)
[![PyPI Downloads per Month](https://img.shields.io/pypi/dm/django-adminlte2-pdq.svg)](https://pypi.python.org/pypi/django-adminlte2-pdq)


**Django-AdminLTE2-PDQ** is a [Django](https://www.djangoproject.com/) app
that takes all of the work out of making a beautiful and functional web
application pretty darn quickly (PDQ) using the
[AdminLTE2](https://adminlte.io/themes/AdminLTE/index2.html)
theme.

Additionally, the app provides decorators, mixins, template filters, and
template tags to aid in the rapid development of a site.

Features include:

* Styled with [AdminLTE2](https://adminlte.io/themes/AdminLTE/index2.html).
* Easy sidebar menu creation.
* Automatic
  [Django Admin](https://docs.djangoproject.com/en/dev/ref/contrib/admin/)
  styling that matches AdminLTE2.
* Automatic inclusion of Admin links in the sidebar.
* Automatic menu link hiding based on user permissions to views.
* Template filters to aid in manual styling.
* Template tags for form rendering that matches AdminLTE2.
* Automatic form error and message styling.
* [Font Awesome 4](https://fontawesome.com/v4/icons/)
  & [Font Awesome 5](https://fontawesome.com/v5/search) integration.
* Highly configurable functionality, via project
  [Django settings variables](https://docs.djangoproject.com/en/dev/topics/settings/).

The full documentation can be found on [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/).

![django-adminlte2-pdq-static-menu](https://user-images.githubusercontent.com/4390026/174349983-70984453-1aa5-4976-8749-fadd9028a94c.png)

## Quickstart

1.  Install the Django App via GitHub for now. Working on getting on Pypi soon.
    ```shell
    python -m pip install django-adminlte2-pdq
    ```

2.  Add "adminlte2_pdq" to your INSTALLED_APPS setting like this:
    ```python
    INSTALLED_APPS = [
        'adminlte2_pdq',
        ...
    ]
    ```

    ---
    :information_source: **NOTE**
    The **adminlte2_pdq** app should be listed before any Django apps so
    that template overriding works correctly. Additionally, if you plan to
    override any Django-AdminLTE2-PDQ templates, the apps containing those
    templates should be listed above the **adminlte2_pdq app**.

    ---

3.  Django-AdminLTE2-PDQ provides a middleware that is required for some of the
    available authentication and authorization scenarios from this package to
    function.

    Add this middleware to your middleware list in ``settings.py``.

    Once installed the available scenarios are controlled by changing settings
    in your ``settings.py`` file.
    For more information about the various scenarios and associated settings
    refer to the full documentation on
    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/authorization/policies.html).

    ```python

       MIDDLEWARE = [
           ...
           'adminlte2_pdq.middleware.AuthMiddleware',
       ]
    ```

    ---
    :information_source: **NOTE**
    Django-AdminLTE2-PDQ has been configured out of the box to get you set up
    and running as fast as possible. As a result, the settings surrounding
    authentication and authorization are not as strict as they could be.
    We **strongly** encourage you to read the Authentication and Authorization
    section on
    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/authorization/policies.html)
    once you get the basics of this package working.

    ---

4.  Django-AdminLTE2-PDQ provides routes and templates for a home page,
    some sample pages, and Django's account pages. You can add these default
    routes to your URLconf if you would like to use them.

    ---
    :information_source: **NOTE**
    Using the included routes and templates requires that your `urlpatterns`
    has both the routes from the package added as well as the `accounts`
    routes provided by Django. See sample code below.

    ---
    :warning: **WARNING**
    Opting not to use these default routes requires that you configure the
    `ADMINLTE2_HOME_ROUTE` setting, as some parts of the default template
    expect that your site has at minimum, a home page, defined in that setting.

    ---

    ```python
    from django.contrib import admin
    from django.urls import include

    urlpatterns = [
        # Adminlte2 default routes for demo purposes
        path('', include('adminlte2_pdq.urls')),
        # Django Account Routes - Styled in AdminLTE2
        path('accounts/', include('django.contrib.auth.urls')),
        # Admin - Styled in Django but hosted in AdminLTE2 layout
        path('admin/', admin.site.urls),
    ]
    ```

5.  Ensure that the login redirect will work.
    ```python
    LOGIN_REDIRECT_URL = 'adminlte2_pdq:home'
    ```
    ---
    :information_source: **NOTE**
    Django-AdminLTE2-PDQ does not include a route or templates for
    `/accounts/profile` which is the default
    [Django Login redirect.](https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url)
    Adding the above entry to your `settings.py` file
    will allow successful logins to redirect to the default provided home page
    included in step 4. At least until a proper profile route can be set up.

    ---
    :warning: **WARNING**
    If you are not using the default urls from step 4, we assume that you
    already know where you would like to have users redirected to on successful
    login and thus have already done this step with a different value.

    ---

6.  Update ``settings.py`` to customize the look and feel of
    **Django-AdminLTE2-PDQ**. Common configuration options are listed below in the
    [configuration section](#configuration).

    For the full list of configuration options refer to the documentation on
    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/configuration/home.html).

7. Override templates to further customize the look and feel of
   **Django-AdminLTE2-PDQ**.

   See the Templates section on
   [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/templates/templates.html)
   for more information.

## Configuration

### Home

Set the "Home" route for your project. This tells the package where to redirect
users when they click a link that is designed to take the user home.
```python
ADMINLTE2_HOME_ROUTE = 'adminlte2_pdq:home'
```

Set the Logo text for your site. This will be shown in the top left of the top
bar when the sidebar is expanded.
```python
ADMINLTE2_LOGO_TEXT = 'My Awesome Site'
```

Set the small Logo text for your site. This will be shown in the top left of the
top bar when the sidebar is collapsed.
```python
ADMINLTE2_LOGO_TEXT_SMALL = 'MAS'
```

Set the skin class to use for the site. Valid skin classes can be found on the
[AdminLTE documentation](https://adminlte.io/themes/AdminLTE/documentation/)
page.
```python
ADMINLTE2_SKIN_CLASS = 'skin-green-light'
```

### Menu

By default, the main navigation (non-admin) menu is not part of the sidebar when
the user is viewing a
[Django Admin page](https://docs.djangoproject.com/en/dev/ref/contrib/admin/)
If you would like users to be able to see all of the main nav links regardless
of what page they are on, set this value to ``True``.
```python
ADMINLTE2_INCLUDE_MAIN_NAV_ON_ADMIN_PAGES = (True/False)
```

By default, the admin navigation menu is not part of the sidebar when the user
is viewing a main navigation
(non-[Django-Admin](https://docs.djangoproject.com/en/dev/ref/contrib/admin/))
page. If you would like users to be able to see all of the admin nav links
regardless of what page they are on, set this value to ``True``.
```python
ADMINLTE2_INCLUDE_ADMIN_NAV_ON_MAIN_PAGES = (True/False)
```

By default, there will be an implicit separator bar rendered between each menu
group.
These groups include: **MENU_FIRST**, **MENU**, **MENU_LAST**, and the
**Admin Menu**.
More information about these groups can be found on the
[Read The Docs Admin page](https://django-adminlte2-pdq.readthedocs.io/en/latest/menu/general_information.html).
If you would like to disable this
separator from being automatically rendered, set this value to ``False``.
```python
ADMINLTE2_USE_MENU_GROUP_SEPARATOR = (True/False)
```

This setting is the definition for the main navigation menu.
There are a lot of options when creating this menu.
See the
[Read The Docs Menu page](https://django-adminlte2-pdq.readthedocs.io/en/latest/menu/general_information.html)
for a detailed explanation of how to
create this menu and all of the available options that can be used.
```python
ADMINLTE2_MENU = []
```

### Admin

By default, the admin menu sidebar will not have a link to the admin index page.
If you would like to append a link to the admin index page in the sidebar,
set this value to ``True``.
```python
ADMINLTE2_INCLUDE_ADMIN_HOME_LINK = (True/False)
```

By default, Django-AdminLTE2-PDQ will put the Apps on the Admin Index page
into AdminLTE Info Boxes. Setting this to ``True`` will change that look
to the traditional Django list view, but still within the main AdminLTE site
styling.
```python
ADMINLTE2_ADMIN_INDEX_USE_APP_LIST = (True/False)
```

### Authorization

Whether all routes will require that users are logged in to access unless
the route is added to a Whitelist.

If this setting is set to False, then all routes will be accessible and
still visible on the sidebar menu.

If this setting is set to True, then all routes will not be accessible nor will
there be links on the sidebar menu unless the user is logged in or the route is
found in the
``ADMINLTE2_LOGIN_EXEMPT_WHITELIST`` setting.
```python
ADMINLTE2_USE_LOGIN_REQUIRED = (True/False)
```

Assuming ``ADMINLTE2_USE_LOGIN_REQUIRED`` is set to True,
this is the list of routes that will be shown on the sidebar menu and
accessible, despite a user not being logged in.

---
:information_source: **NOTE**
Even though the default value for this list is an empty list, the underlying
functionality that this setting is used in has some included routes.
They can be seen in the full Documentation. The routes defined in this
setting will be appended to that default list.

---

```python
ADMINLTE2_LOGIN_EXEMPT_WHITELIST = []
```

Whether routes with no defined permission should be hidden unless added to a
Whitelist.

If this setting is set to False, then all routes without defined permissions
are still visible on the sidebar menu.

If this setting is set to True, then all routes without defined permissions
are hidden on the sidebar menu unless the route is found in the
``ADMINLTE2_STRICT_POLICY_WHITELIST`` setting.
```python
ADMINLTE2_USE_STRICT_POLICY = (True/False)
```

Assuming ``ADMINLTE2_USE_STRICT_POLICY`` is set to True,
this is the list of routes that will be shown on the sidebar menu and
accessible, despite said routes having no defined permission.
```python
ADMINLTE2_STRICT_POLICY_WHITELIST = []
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DJBarnes/django-adminlte2-pdq",
    "name": "django-adminlte2-pdq",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "David Barnes <barnesdavidj@gmail.com>, Brandon Rodriguez <brodriguez8774@gmail.com>",
    "keywords": "adminlte2,django,fast,pdq,rapid,speed,style,theme",
    "author": "David Barnes",
    "author_email": "David Barnes <barnesdavidj@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8c/51/82f7f2f7294e1f95f3ebe5472d3590d2a1cb95ce5a915f2894c22064045c/django-adminlte2-pdq-0.1.7.tar.gz",
    "platform": null,
    "description": "# Django-AdminLTE2-PDQ\n\n[![Documentation Status](https://readthedocs.org/projects/django-adminlte2-pdq/badge/?version=latest)](https://django-adminlte2-pdq.readthedocs.io/en/latest/?badge=latest)\n[![PyPI](https://img.shields.io/pypi/v/django-adminlte2-pdq?color=blue)](https://img.shields.io/pypi/v/django-adminlte2-pdq?color=blue)\n[![Python Versions](https://img.shields.io/badge/python-%3E%3D3.8-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.8-brightgreen)\n[![Django Versions](https://img.shields.io/badge/django-%3E%3D3.2-brightgreen)](https://img.shields.io/badge/django-%3E%3D3.2-brightgreen)\n[![GitHub](https://img.shields.io/github/license/DJBarnes/django-adminlte2-pdq)](https://img.shields.io/github/license/DJBarnes/django-adminlte2-pdq)\n[![PyPI Downloads per Month](https://img.shields.io/pypi/dm/django-adminlte2-pdq.svg)](https://pypi.python.org/pypi/django-adminlte2-pdq)\n\n\n**Django-AdminLTE2-PDQ** is a [Django](https://www.djangoproject.com/) app\nthat takes all of the work out of making a beautiful and functional web\napplication pretty darn quickly (PDQ) using the\n[AdminLTE2](https://adminlte.io/themes/AdminLTE/index2.html)\ntheme.\n\nAdditionally, the app provides decorators, mixins, template filters, and\ntemplate tags to aid in the rapid development of a site.\n\nFeatures include:\n\n* Styled with [AdminLTE2](https://adminlte.io/themes/AdminLTE/index2.html).\n* Easy sidebar menu creation.\n* Automatic\n  [Django Admin](https://docs.djangoproject.com/en/dev/ref/contrib/admin/)\n  styling that matches AdminLTE2.\n* Automatic inclusion of Admin links in the sidebar.\n* Automatic menu link hiding based on user permissions to views.\n* Template filters to aid in manual styling.\n* Template tags for form rendering that matches AdminLTE2.\n* Automatic form error and message styling.\n* [Font Awesome 4](https://fontawesome.com/v4/icons/)\n  & [Font Awesome 5](https://fontawesome.com/v5/search) integration.\n* Highly configurable functionality, via project\n  [Django settings variables](https://docs.djangoproject.com/en/dev/topics/settings/).\n\nThe full documentation can be found on [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/).\n\n![django-adminlte2-pdq-static-menu](https://user-images.githubusercontent.com/4390026/174349983-70984453-1aa5-4976-8749-fadd9028a94c.png)\n\n## Quickstart\n\n1.  Install the Django App via GitHub for now. Working on getting on Pypi soon.\n    ```shell\n    python -m pip install django-adminlte2-pdq\n    ```\n\n2.  Add \"adminlte2_pdq\" to your INSTALLED_APPS setting like this:\n    ```python\n    INSTALLED_APPS = [\n        'adminlte2_pdq',\n        ...\n    ]\n    ```\n\n    ---\n    :information_source: **NOTE**\n    The **adminlte2_pdq** app should be listed before any Django apps so\n    that template overriding works correctly. Additionally, if you plan to\n    override any Django-AdminLTE2-PDQ templates, the apps containing those\n    templates should be listed above the **adminlte2_pdq app**.\n\n    ---\n\n3.  Django-AdminLTE2-PDQ provides a middleware that is required for some of the\n    available authentication and authorization scenarios from this package to\n    function.\n\n    Add this middleware to your middleware list in ``settings.py``.\n\n    Once installed the available scenarios are controlled by changing settings\n    in your ``settings.py`` file.\n    For more information about the various scenarios and associated settings\n    refer to the full documentation on\n    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/authorization/policies.html).\n\n    ```python\n\n       MIDDLEWARE = [\n           ...\n           'adminlte2_pdq.middleware.AuthMiddleware',\n       ]\n    ```\n\n    ---\n    :information_source: **NOTE**\n    Django-AdminLTE2-PDQ has been configured out of the box to get you set up\n    and running as fast as possible. As a result, the settings surrounding\n    authentication and authorization are not as strict as they could be.\n    We **strongly** encourage you to read the Authentication and Authorization\n    section on\n    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/authorization/policies.html)\n    once you get the basics of this package working.\n\n    ---\n\n4.  Django-AdminLTE2-PDQ provides routes and templates for a home page,\n    some sample pages, and Django's account pages. You can add these default\n    routes to your URLconf if you would like to use them.\n\n    ---\n    :information_source: **NOTE**\n    Using the included routes and templates requires that your `urlpatterns`\n    has both the routes from the package added as well as the `accounts`\n    routes provided by Django. See sample code below.\n\n    ---\n    :warning: **WARNING**\n    Opting not to use these default routes requires that you configure the\n    `ADMINLTE2_HOME_ROUTE` setting, as some parts of the default template\n    expect that your site has at minimum, a home page, defined in that setting.\n\n    ---\n\n    ```python\n    from django.contrib import admin\n    from django.urls import include\n\n    urlpatterns = [\n        # Adminlte2 default routes for demo purposes\n        path('', include('adminlte2_pdq.urls')),\n        # Django Account Routes - Styled in AdminLTE2\n        path('accounts/', include('django.contrib.auth.urls')),\n        # Admin - Styled in Django but hosted in AdminLTE2 layout\n        path('admin/', admin.site.urls),\n    ]\n    ```\n\n5.  Ensure that the login redirect will work.\n    ```python\n    LOGIN_REDIRECT_URL = 'adminlte2_pdq:home'\n    ```\n    ---\n    :information_source: **NOTE**\n    Django-AdminLTE2-PDQ does not include a route or templates for\n    `/accounts/profile` which is the default\n    [Django Login redirect.](https://docs.djangoproject.com/en/dev/ref/settings/#login-redirect-url)\n    Adding the above entry to your `settings.py` file\n    will allow successful logins to redirect to the default provided home page\n    included in step 4. At least until a proper profile route can be set up.\n\n    ---\n    :warning: **WARNING**\n    If you are not using the default urls from step 4, we assume that you\n    already know where you would like to have users redirected to on successful\n    login and thus have already done this step with a different value.\n\n    ---\n\n6.  Update ``settings.py`` to customize the look and feel of\n    **Django-AdminLTE2-PDQ**. Common configuration options are listed below in the\n    [configuration section](#configuration).\n\n    For the full list of configuration options refer to the documentation on\n    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/configuration/home.html).\n\n7. Override templates to further customize the look and feel of\n   **Django-AdminLTE2-PDQ**.\n\n   See the Templates section on\n   [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/templates/templates.html)\n   for more information.\n\n## Configuration\n\n### Home\n\nSet the \"Home\" route for your project. This tells the package where to redirect\nusers when they click a link that is designed to take the user home.\n```python\nADMINLTE2_HOME_ROUTE = 'adminlte2_pdq:home'\n```\n\nSet the Logo text for your site. This will be shown in the top left of the top\nbar when the sidebar is expanded.\n```python\nADMINLTE2_LOGO_TEXT = 'My Awesome Site'\n```\n\nSet the small Logo text for your site. This will be shown in the top left of the\ntop bar when the sidebar is collapsed.\n```python\nADMINLTE2_LOGO_TEXT_SMALL = 'MAS'\n```\n\nSet the skin class to use for the site. Valid skin classes can be found on the\n[AdminLTE documentation](https://adminlte.io/themes/AdminLTE/documentation/)\npage.\n```python\nADMINLTE2_SKIN_CLASS = 'skin-green-light'\n```\n\n### Menu\n\nBy default, the main navigation (non-admin) menu is not part of the sidebar when\nthe user is viewing a\n[Django Admin page](https://docs.djangoproject.com/en/dev/ref/contrib/admin/)\nIf you would like users to be able to see all of the main nav links regardless\nof what page they are on, set this value to ``True``.\n```python\nADMINLTE2_INCLUDE_MAIN_NAV_ON_ADMIN_PAGES = (True/False)\n```\n\nBy default, the admin navigation menu is not part of the sidebar when the user\nis viewing a main navigation\n(non-[Django-Admin](https://docs.djangoproject.com/en/dev/ref/contrib/admin/))\npage. If you would like users to be able to see all of the admin nav links\nregardless of what page they are on, set this value to ``True``.\n```python\nADMINLTE2_INCLUDE_ADMIN_NAV_ON_MAIN_PAGES = (True/False)\n```\n\nBy default, there will be an implicit separator bar rendered between each menu\ngroup.\nThese groups include: **MENU_FIRST**, **MENU**, **MENU_LAST**, and the\n**Admin Menu**.\nMore information about these groups can be found on the\n[Read The Docs Admin page](https://django-adminlte2-pdq.readthedocs.io/en/latest/menu/general_information.html).\nIf you would like to disable this\nseparator from being automatically rendered, set this value to ``False``.\n```python\nADMINLTE2_USE_MENU_GROUP_SEPARATOR = (True/False)\n```\n\nThis setting is the definition for the main navigation menu.\nThere are a lot of options when creating this menu.\nSee the\n[Read The Docs Menu page](https://django-adminlte2-pdq.readthedocs.io/en/latest/menu/general_information.html)\nfor a detailed explanation of how to\ncreate this menu and all of the available options that can be used.\n```python\nADMINLTE2_MENU = []\n```\n\n### Admin\n\nBy default, the admin menu sidebar will not have a link to the admin index page.\nIf you would like to append a link to the admin index page in the sidebar,\nset this value to ``True``.\n```python\nADMINLTE2_INCLUDE_ADMIN_HOME_LINK = (True/False)\n```\n\nBy default, Django-AdminLTE2-PDQ will put the Apps on the Admin Index page\ninto AdminLTE Info Boxes. Setting this to ``True`` will change that look\nto the traditional Django list view, but still within the main AdminLTE site\nstyling.\n```python\nADMINLTE2_ADMIN_INDEX_USE_APP_LIST = (True/False)\n```\n\n### Authorization\n\nWhether all routes will require that users are logged in to access unless\nthe route is added to a Whitelist.\n\nIf this setting is set to False, then all routes will be accessible and\nstill visible on the sidebar menu.\n\nIf this setting is set to True, then all routes will not be accessible nor will\nthere be links on the sidebar menu unless the user is logged in or the route is\nfound in the\n``ADMINLTE2_LOGIN_EXEMPT_WHITELIST`` setting.\n```python\nADMINLTE2_USE_LOGIN_REQUIRED = (True/False)\n```\n\nAssuming ``ADMINLTE2_USE_LOGIN_REQUIRED`` is set to True,\nthis is the list of routes that will be shown on the sidebar menu and\naccessible, despite a user not being logged in.\n\n---\n:information_source: **NOTE**\nEven though the default value for this list is an empty list, the underlying\nfunctionality that this setting is used in has some included routes.\nThey can be seen in the full Documentation. The routes defined in this\nsetting will be appended to that default list.\n\n---\n\n```python\nADMINLTE2_LOGIN_EXEMPT_WHITELIST = []\n```\n\nWhether routes with no defined permission should be hidden unless added to a\nWhitelist.\n\nIf this setting is set to False, then all routes without defined permissions\nare still visible on the sidebar menu.\n\nIf this setting is set to True, then all routes without defined permissions\nare hidden on the sidebar menu unless the route is found in the\n``ADMINLTE2_STRICT_POLICY_WHITELIST`` setting.\n```python\nADMINLTE2_USE_STRICT_POLICY = (True/False)\n```\n\nAssuming ``ADMINLTE2_USE_STRICT_POLICY`` is set to True,\nthis is the list of routes that will be shown on the sidebar menu and\naccessible, despite said routes having no defined permission.\n```python\nADMINLTE2_STRICT_POLICY_WHITELIST = []\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 David Barnes  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "A Django app that takes all of the work out of making a beautiful and functional web application pretty darn quickly (PDQ) using the AdminLTE2 theme.",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/djbarnes/django-adminlte2-pdq"
    },
    "split_keywords": [
        "adminlte2",
        "django",
        "fast",
        "pdq",
        "rapid",
        "speed",
        "style",
        "theme"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "507ac1f1814124b474922cef0b411c958f430e06de8e93a25d336f411a405939",
                "md5": "487df457dcd753a3901ef8064e83830a",
                "sha256": "92a421c631b7878025d0fc461db2162d80b64defeef76300944d05f702f3239b"
            },
            "downloads": -1,
            "filename": "django_adminlte2_pdq-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "487df457dcd753a3901ef8064e83830a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9600032,
            "upload_time": "2023-09-17T19:44:39",
            "upload_time_iso_8601": "2023-09-17T19:44:39.803474Z",
            "url": "https://files.pythonhosted.org/packages/50/7a/c1f1814124b474922cef0b411c958f430e06de8e93a25d336f411a405939/django_adminlte2_pdq-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c5182f7f2f7294e1f95f3ebe5472d3590d2a1cb95ce5a915f2894c22064045c",
                "md5": "95d56d0f578fb9c82f2b5113fd6f1dcb",
                "sha256": "7d9971a43af052b3dd7230672af3dcf0fa87a7185735b4299ede6d6c4896a44d"
            },
            "downloads": -1,
            "filename": "django-adminlte2-pdq-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "95d56d0f578fb9c82f2b5113fd6f1dcb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 21420244,
            "upload_time": "2023-09-17T19:45:04",
            "upload_time_iso_8601": "2023-09-17T19:45:04.138271Z",
            "url": "https://files.pythonhosted.org/packages/8c/51/82f7f2f7294e1f95f3ebe5472d3590d2a1cb95ce5a915f2894c22064045c/django-adminlte2-pdq-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-17 19:45:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DJBarnes",
    "github_project": "django-adminlte2-pdq",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "lcname": "django-adminlte2-pdq"
}
        
Elapsed time: 0.13696s