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.2.tar.gz (6.8 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.2.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_fhadmin-2.2.2.tar.gz
  • Upload date:
  • Size: 6.8 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.2.tar.gz
Algorithm Hash digest
SHA256 4f6a0e48ac652ca21e225b6ae674f1e835f7a6b740460b178ffd4cf62a4eb2d3
MD5 828c8b3309f648c0e0cc479ed5696bb6
BLAKE2b-256 c016741b821ade92b21d7350c0c7f4561f4d55d5ffc2bc183c00acbff5ca7c0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_fhadmin-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57b909dc26b7b9b2b2f3d6188c0a335de50b0b120c09a77edf2c7efbfcd531ec
MD5 a6bd637efc143374f69386e0e6f33596
BLAKE2b-256 f79acd45cf8e33d592bc1ea1b31c33e5f5ff315e5a0ff7fc41314c3da3352e2a

See more details on using hashes here.

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