Skip to main content

Display django permissions in a tabular format that is user friendly, and highly customisable

Project description

# django-tabular-permissions
Display Django basic permissions (add, change & delete) in a tabular format that is user friendly, translatable and easy customized.
If you have more customised permissions, the default `FilteredSelectMultiple` widget will also appear to handle those permissions.

------------ be updated

add "tabular_permissions" to your INSTALLED_APPS setting like this::




By default tabulat_permssions exclude apps `sessions` , `contenttypes` and `admin` apps from
showing their models in teh permissions table.
You can add (or override) those apps and/or specify models to exclude
in our add :
'app': [],
'model': [],
'override': False # or set to True to override default behaviour.


By default, just by including `tabular_permissions` in your installed_apps, the `django.contrib.admin.UserAdmin` (and `GroupAdmin`)
is "patched" to include the tabular_permissions widget.
If you have a custom UserAdmin, then set this option to False and make sure you either :
* Inherit from `TabularPermissionsUserAdmin` , or ,
* Inherit from `TabularPermissionsAdmin` (from tabular_permissions.admin) before admin.ModelAdmin or UserAdmin,
* Set the user_permissions widget to `tabular_permissions.widgets.TabularPermissionsWidget`

Customizing display:
Override or extend template ,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-tabular-permissions-1.0.0.tar.gz (4.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page