#31041: Custom validation in the clean method triggers before checking the fields exist or not. -------------------------------------+------------------------------------- Reporter: tahmidkhan | Owner: nobody Type: Bug | Status: closed Component: Database layer | Version: 2.2 (models, ORM) | Severity: Normal | Resolution: invalid 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 felixxm):
* status: new => closed * component: Uncategorized => Database layer (models, ORM) * type: Uncategorized => Bug * resolution: => invalid Comment: Please don't use Trac as a support channel. If you accept `None` values you need to handle them in comparisons, see also [https://docs.djangoproject.com/en/2.2/ref/models/instances/#django.db.models.Model.clean documentation]. Closing per TicketClosingReasons/UseSupportChannels. -- Ticket URL: <https://code.djangoproject.com/ticket/31041#comment:1> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.b654f2d9785b09e05cc08d5595ddf6dd%40djangoproject.com.