-
Notifications
You must be signed in to change notification settings - Fork 36
Home
Rocio Aramberri edited this page May 23, 2020
·
32 revisions
Error Code | Description |
---|---|
DJ01 | Avoid using null on string-based fields such as CharField and TextField |
Content Cell |
- DJ03 - Avoid passing locals() as context to a render function
- DJ06 - Do not use
exclude
withModelForm
, usefields
instead - DJ07 - Do not use
__all__
withModelForm
, usefields
instead - DJ08 - Model does not have
__str__
method defined - DJ09 - Model does not have
Meta
class defined - DJ10 - Model's
Meta
does not define averbose_name
- DJ11 - Model's
Meta
does not define averbose_name_plural
- DJ12 - Order of Model inner classes and standard methods does not follow Django style guide