Skip to main content

Django Admin for Developers and Django Dahsboards for Clients

Project description

Django Admin for Developers and Django Dahsboard for Clients.

Features

  • Panel Dahsboard for all apps and models

  • CRUD + Duplicate, Filter and Export for all apps and models

  • Generic and extensible Urls, Filters, Forms, Serializers and Views for all models

  • Bootstrap integration

TODO

  • modal errors

Installation

pip install django-dashboards-app

Usage

Add 'django_dashboards_app' to your INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    'django_dashboards_app',
]

Configure DASHBOARD_PROJECT_NAME and DASHBOARD_REDIRECT on your project settings.

DASHBOARD_PROJECT_NAME = 'Project Title'
DASHBOARD_REDIRECT = 'your_app_url/'

Add get_detail_url, get_update_url and get_delete_url for each model.

class Model(models.Model):

    def get_detail_url(self):
        return reverse('your_app_name:model_name_detail', args=[self.pk])

    def get_update_url(self):
        return reverse('your_app_name:model_name_update', args=[self.pk])

    def get_delete_url(self):
        return reverse('your_app_name:model_name_delete', args=[self.pk])

Run generate command.

python manage.py generate your_app_name

Add dashboard and your app urls to project urls.

from django_dashboards_app import urls as dashboard_urls
from your_app_name import base_urls

path('dashboard/', include((dashboard_urls, 'dashboard'), namespace='dashboard')),
path('dashboard/your_app_name/', include((base_urls, 'your_app_name'), namespace='your_app_name')),

Next Features

  • Nested relations info in detail view

  • Nested urls and breadcrumbs for model relations

  • Formsets for nested relations

  • Translations

  • Permissions

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-dashboards-app-1.0.3.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

django_dashboards_app-1.0.3-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file django-dashboards-app-1.0.3.tar.gz.

File metadata

  • Download URL: django-dashboards-app-1.0.3.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.1

File hashes

Hashes for django-dashboards-app-1.0.3.tar.gz
Algorithm Hash digest
SHA256 23560d10b159c4dcdc8d4c18991e2de15b63aba52ef89cce231bab725a7ea80c
MD5 df918eaeee37426c7f3e5c98b14a6798
BLAKE2b-256 d95cf730052f22be2a5c8bbfe9557bf885514c9f0c44b85afbc37462ffceb3f7

See more details on using hashes here.

File details

Details for the file django_dashboards_app-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dashboards_app-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3287256a0ce8a2f76bf2e6d725eda69dd49ebcd013799fe6eb91e0413b422f1
MD5 cfd917ce2faff21e069b4b32e473baf8
BLAKE2b-256 40b4ab1d6456867a2c46bca52215b9698ba6b3e4f0b367d76f1b7eba5a581f00

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