mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #26470 -- Converted auth permission validation to system checks.
Thanks Tim for the review.
This commit is contained in:
@@ -432,6 +432,16 @@ Auth
|
||||
``USERNAME_FIELD``.
|
||||
* **auth.W004**: ``<field>`` is named as the ``USERNAME_FIELD``, but it is not
|
||||
unique.
|
||||
* **auth.E005**: The permission codenamed ``<codename>`` clashes with a builtin
|
||||
permission for model ``<model>``.
|
||||
* **auth.E006**: The permission codenamed ``<codename>`` is duplicated for model
|
||||
``<model>``.
|
||||
* **auth.E007**: The :attr:`verbose_name
|
||||
<django.db.models.Options.verbose_name>` of model ``<model>`` must be at most
|
||||
244 characters for its builtin permission names
|
||||
to be at most 255 characters.
|
||||
* **auth.E008**: The permission named ``<name>`` of model ``<model>`` is longer
|
||||
than 255 characters.
|
||||
|
||||
|
||||
Content Types
|
||||
|
||||
Reference in New Issue
Block a user