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. Entries where source and target do not exist are ignored.

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.4.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_fhadmin-2.4.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_fhadmin-2.4.0.tar.gz
Algorithm Hash digest
SHA256 bc12b139bcbf001901ccd29c1c10c21b24bf24441019d85a3e87c7967b501a53
MD5 d2a06b8cbcc38981863002e9af4a176c
BLAKE2b-256 40d79dbe242a883d1911c9467bb11fd7df66caaed4333519655427e538c0e572

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_fhadmin-2.4.0.tar.gz:

Publisher: publish.yml on feinheit/django-fhadmin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: django_fhadmin-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_fhadmin-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 270c70c75006126f36e28a75d56606a2c7a373828f503a9a5a028bb1cbe9bf7c
MD5 a34936f62299052bbf2b73b03feaae40
BLAKE2b-256 09ea39d14b5c2d87075ec0d78e9c62c3ddcf20d64636e47f01601401f1ef8e28

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_fhadmin-2.4.0-py3-none-any.whl:

Publisher: publish.yml on feinheit/django-fhadmin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page