django-extra-checks icon indicating copy to clipboard operation
django-extra-checks copied to clipboard

Improved model-meta-attribute checks

Open am0s opened this issue 3 years ago • 1 comments

Currently the model-meta-attribute check can only check if an attribute is present. However I have two additional type of checks that I require:

  1. Being able to check that a meta attribute is not set (e.g. db_table)
  2. Being able to check the value of a meta attribute, for instance if managed = False or managed = True

Any chance of adding support for this?

am0s avatar Mar 22 '21 09:03 am0s

Any chance of adding support for this?

Hardly as standard checks but custom checks are planned (you will be able to write your own checks using this app infra). That will expose currently internal API so it must be stabilized first, can't provide ETA at the moment.

kalekseev avatar Mar 22 '21 09:03 kalekseev