Suggest to validate unique before running clean in models full_clean etc..
|Reported by:||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.6|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If we use clean(), and check for fields the hasn't been assigned, then it will raise a doesnotexist exception.
The clean() method claims we can utilize fields which data is clean, it's not, will in validation of uniqueness, the missing of fields will be suggested successfully, I think we should check if the field exists first.