Skip to main content

Modifies the stock Django-Administration interface to fit our ideas a little bit better.

Project description

Modifies the stock Django-Administration interface to fit our ideas a little bit better.

Dashboard and global navigation extension

Allows grouping of apps on the dashboard and offers the same view on each admin page when clicking the main title of the Django admin interface.

App label entries without a matching app are ignored. A configuration example follows:

from fhadmin import FHADMIN_GROUPS_REMAINING
_ = lambda x: x

FHADMIN_GROUPS = [
    (_('Main content'), ('page', 'medialibrary', 'blog')),
    (_('Modules'), ('links', FHADMIN_GROUPS_REMAINING)),
    (_('Preferences'), ('auth', 'rosetta', 'external', 'sites')),
]

The extension is activated by inserting fhadmin before django.contrib.admin in INSTALLED_APPS.

Merging apps

Merging apps is possible as follows:

FHADMIN_MERGE = {"accounts": "auth"}

This example moves all models from the accounts app to the auth heading. Both app labels have to exist. Note that this only changes the start page of the Django admin panel and of course the global navigation. Note that strange things (or worse) may happen if the user has access to only one or the other app.

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_fhadmin-2.2.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

django_fhadmin-2.2.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file django_fhadmin-2.2.3.tar.gz.

File metadata

  • Download URL: django_fhadmin-2.2.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django_fhadmin-2.2.3.tar.gz
Algorithm Hash digest
SHA256 8bb38856f96e384dcf295068c1a97451fd96578634c7a921bcf78807d5cde061
MD5 9fb427e6d4f1d80ccb0ec89bbf7af97a
BLAKE2b-256 664ca4cd0df99c961f5e7d4c93c3ecedbaecb272bbcf64e2dfb4f7f4a615d600

See more details on using hashes here.

File details

Details for the file django_fhadmin-2.2.3-py3-none-any.whl.

File metadata

  • Download URL: django_fhadmin-2.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django_fhadmin-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6985092f45bee81175d1b3dd2d1143023618eec2bd8c6eb1c6b9a60173977f8a
MD5 3094be0636a4b888370351870956079d
BLAKE2b-256 ad38f42c718f32b954f5a2567123e110905384f4f5125113a7c99b9186e88e31

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