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

Uploaded Source

Built Distribution

django_fhadmin-2.3.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_fhadmin-2.3.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for django_fhadmin-2.3.1.tar.gz
Algorithm Hash digest
SHA256 3d354ac5be5abaa144ce8f34199fe0134485f0dd5d40e4a4a4b303c8d9ffe358
MD5 69d3001db510e593df9c7142bdb2a078
BLAKE2b-256 6e97a0e6c11ca71dea210391c7a13cb72aa8a78117e25f5369f9620c7705ae3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_fhadmin-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49c91e60a7af31d7ef518fe7985080b8a7949e8c5aa9c9f57025410a9662d9b6
MD5 e0b771cd4d5d1b747fe2ede6e2b31e1b
BLAKE2b-256 10ff301388fe76a5f6747fe0570ec558ae8068160073c886fcacaf7b0018c222

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