This repository has been archived by the owner on Jul 9, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AbstractConfigForm] Made clean_templates more generic
Instead of hardcoding the data passed to the temporary instance used for validation, pass a copy of the cleaned_data dictionary, carefully removing the "templates" key (which contains m2m relationships). This way the method won't fail if third party apps add more required fields to their models.
- Loading branch information