django_prbac Package¶
django_prbac
Package¶
admin
Module¶
arbitrary
Module¶
decorators
Module¶
fields
Module¶
-
class
django_prbac.fields.
StringListField
(*args, db_collation=None, **kwargs)[source]¶ Bases:
django.db.models.fields.TextField
A Django field for lists of strings
-
get_prep_value
(value)[source]¶ Converts the value, which must be a string list, to a comma-separated string, quoted appropriately. This format is private to the field type so it is not exposed for customization or any such thing.
-
-
class
django_prbac.fields.
StringSetField
(*args, db_collation=None, **kwargs)[source]¶ Bases:
django_prbac.fields.StringListField
A Django field for set of strings.
-
get_prep_value
(value)[source]¶ Converts the value, which must be a string list, to a comma-separated string, quoted appropriately. This format is private to the field type so it is not exposed for customization or any such thing.
-
mock_settings
Module¶
Settings just for running the django-prbac tests or checking out the admin site.