@@ -9,16 +9,16 @@ Collection of useful checks for Django Checks Frameworks
99- ** extra-checks-config** - settings.EXTRA_CHECKS is valid config for django-extra-checks (always enabled).
1010- ** model-attribute** - Each Model in the project must have all attributes from ` attrs ` setting specified.
1111- ** model-meta-attribute** - Each Model.Meta in the project must have all attributes from ` attrs ` setting specified.
12- - ** no-unique-together** - Use UniqueConstraint with the constraints option instead.
13- - ** no-index-together** - Use the indexes option instead.
12+ - ** no-unique-together** - Use ` UniqueConstraint ` with the ` constraints ` option instead.
13+ - ** no-index-together** - [ DEPRECATED ] Use the ` indexes ` option instead.
1414- ** model-admin** - Each model must be registered in admin.
15- - ** field-file-upload-to** - FileField/ ImageField must have non empty ` upload_to ` argument.
15+ - ** field-file-upload-to** - ` FileField ` / ` ImageField ` must have non empty ` upload_to ` argument.
1616- ** field-verbose-name** - All model's fields must have verbose name.
17- - ** field-verbose-name-gettext** - verbose_name must use gettext.
17+ - ** field-verbose-name-gettext** - ` verbose_name ` must use gettext.
1818- ** field-verbose-name-gettext-case** - Words in text wrapped with gettext must be in one case.
19- - ** field-help-text-gettext** - help_text must use gettext.
19+ - ** field-help-text-gettext** - ` help_text ` must use gettext.
2020- ** field-text-null** - text fields shouldn't use ` null=True ` .
21- - ** field-boolean-null** - prefer using ` BooleanField(null=True) ` instead of ` NullBooleanField ` .
21+ - ** field-boolean-null** - [ DEPRECATED ] prefer using ` BooleanField(null=True) ` instead of ` NullBooleanField ` .
2222- ** field-null** - don't pass ` null=False ` to model fields (this is django default).
2323- ** field-foreign-key-db-index** - ForeignKey fields must specify ` db_index ` explicitly (to apply only to fields in indexes: ` when: indexes ` ).
2424- ** field-related-name** - Related fields must specify ` related_name ` explicitly.
0 commit comments