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

Uploaded Source

Built Distribution

django_fhadmin-2.2.6-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_fhadmin-2.2.6.tar.gz
  • Upload date:
  • Size: 7.1 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django_fhadmin-2.2.6.tar.gz
Algorithm Hash digest
SHA256 93cbbdbcf298938cf10b0965f06b804f0330e0b900ed6b68c89bb039982d1873
MD5 51ea6eb2b5114e815f6638469fa1ea69
BLAKE2b-256 474102efd979ca6a7225baf6ac625c8c8af312921ed05c9ff987ad819bc38c4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_fhadmin-2.2.6-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for django_fhadmin-2.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d89f17c9847e4cab5ae11a1317a6d21913504068597bedc0d9aa53840ae3b4f7
MD5 a40164e82fd52dfcc4d2e291f8f2eba1
BLAKE2b-256 19a15fbb554bab5b28708fce6c087c8023ebf71dd5b9931610a48b5d84688f2f

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