{"id":22885664,"url":"https://github.com/djbarnes/django-adminlte2-pdq","last_synced_at":"2025-07-23T04:35:50.160Z","repository":{"id":37807234,"uuid":"344964938","full_name":"DJBarnes/django-adminlte2-pdq","owner":"DJBarnes","description":"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.","archived":false,"fork":false,"pushed_at":"2025-07-19T23:58:50.000Z","size":11917,"stargazers_count":6,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-20T01:56:46.079Z","etag":null,"topics":["adminlte2","django","fast","rapid-development"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DJBarnes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-03-06T00:02:05.000Z","updated_at":"2025-07-03T14:52:01.000Z","dependencies_parsed_at":"2025-05-30T22:48:31.973Z","dependency_job_id":"4b0567a1-b272-4534-a2f6-571a6b6b1b35","html_url":"https://github.com/DJBarnes/django-adminlte2-pdq","commit_stats":{"total_commits":173,"total_committers":2,"mean_commits":86.5,"dds":0.09248554913294793,"last_synced_commit":"d7eddff3309431344329e24fb5be628b6f8061dc"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DJBarnes/django-adminlte2-pdq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBarnes%2Fdjango-adminlte2-pdq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBarnes%2Fdjango-adminlte2-pdq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBarnes%2Fdjango-adminlte2-pdq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBarnes%2Fdjango-adminlte2-pdq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DJBarnes","download_url":"https://codeload.github.com/DJBarnes/django-adminlte2-pdq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBarnes%2Fdjango-adminlte2-pdq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266618957,"owners_count":23957273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adminlte2","django","fast","rapid-development"],"created_at":"2024-12-13T19:49:02.404Z","updated_at":"2025-07-23T04:35:50.141Z","avatar_url":"https://github.com/DJBarnes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django-AdminLTE2-PDQ\n\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.7-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.7-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[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Run Tests](https://github.com/DJBarnes/django-adminlte2-pdq/actions/workflows/test.yaml/badge.svg)](https://github.com/DJBarnes/django-adminlte2-pdq/actions/workflows/test.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/DJBarnes/django-adminlte2-pdq/badge.svg?branch=main)](https://coveralls.io/github/DJBarnes/django-adminlte2-pdq?branch=main)\n[![Documentation Status](https://readthedocs.org/projects/django-adminlte2-pdq/badge/?version=latest)](https://django-adminlte2-pdq.readthedocs.io/en/latest/?badge=latest)\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  \u0026 [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.\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 ``\u003cPROJECT_FOLDER\u003e/settings.py``.\n\n    ```python\n\n       MIDDLEWARE = [\n           ...\n           'adminlte2_pdq.middleware.AuthMiddleware',\n       ]\n    ```\n\n4.  Django-AdminLTE2-PDQ provides routes and templates for a default home page,\n    some sample pages, and Django's account pages. You should add these default\n    routes to your root URLconf in ``\u003cPROJECT_FOLDER\u003e/urls.py``\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 successful logins redirect to a valid endpoint.\n\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.\n\n    ```python\n    LOGIN_REDIRECT_URL = 'adminlte2_pdq:home'\n    ```\n\n6.  The package should now have the required bare minimum setup complete.\n    You should be able to run the server and see the default pages located at:\n    ``http://localhost:8000``\n\n    For a more detailed setup, consider reading the\n    [Longstart](https://django-adminlte2-pdq.readthedocs.io/en/latest/longstart.html)\n    and the rest of the full documentation on\n    [Read The Docs](https://django-adminlte2-pdq.readthedocs.io/en/latest/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjbarnes%2Fdjango-adminlte2-pdq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjbarnes%2Fdjango-adminlte2-pdq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjbarnes%2Fdjango-adminlte2-pdq/lists"}