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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_fhadmin-2.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 fea5abe50345f90f542343618c9db0bbef39e07d220458f862f3fa637b54c5b2
MD5 92fdefc79f65a4d574116a253c6c1dd6
BLAKE2b-256 f52f1ecf79a07721e43a8be068deb55d3dbd12be246f964e2f46aae3a9d5f997

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_fhadmin-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1420d892fd144f3ae7563136954bb42d41ce6269f0d4e66c2d9f2a4002ff93d7
MD5 49694b22abcef75ba7d80a9cb3cd7737
BLAKE2b-256 691577e2b2eb128c206447943a51819f48164b62729bf3e44020f7e2fc840821

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