#29549: Model.save() doesn't validate CHOICES -------------------------------------+------------------------------------- Reporter: Evgeny Arshinov | Owner: Tim | Graham Type: Uncategorized | Status: new Component: Database layer | Version: 1.11 (models, ORM) | Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Evgeny Arshinov):
* status: closed => new * resolution: fixed => * component: Documentation => Database layer (models, ORM) * has_patch: 1 => 0 * type: Cleanup/optimization => Uncategorized * stage: Accepted => Unreviewed Comment: Guys, I am sorry but I have to reopen the ticket because it turned out that the proposed solution with calling `full_clean` on `pre_save` does not work, which means that the original problem is still unsolved. In #29655 I have received a [comment:3:ticket:29655 response] that performing validation during model save is not a supported scenario. -- Ticket URL: <https://code.djangoproject.com/ticket/29549#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.e9b4ac4e81892747946ec4fc37321724%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.