Make it possible to retrieve all properties in toDict
We used to retrieve only the properties that are specified in the
self.properties() dictionary, instead, we now iterate over the
key_fields and only use self.properties() if those are not specified.
Patch by: Sverre Rabbelier
from django.core.management.base import NoArgsCommandclass Command(NoArgsCommand): help = "Validates all installed models." requires_model_validation = False def handle_noargs(self, **options): self.validate(display_num_errors=True)