Django rules
Contents:
- Prohibit usage of TestCase.assertRaises() (DBR001)
- Don’t import “django.db” in the view layer (DBR002)
- Prohibit usage of “assertTrue” and “assertFalse” in Django unittests (DBR003)
- Prohibit usage of “datetime.now” (DBR004)
- Don’t import “django.db” in the API layer (DBR005)
- Avoid using old tuple-based Django model choices (DBR006)
- CharField must have
max_lengthset (DBR007)