Re: New optional settings - disable bulk_create in all managers and call self.full_clean() before saving the models

2019-01-06 Thread אורי
Thank you, Aymeric. I appreciate your feedback. אורי u...@speedy.net On Sun, Jan 6, 2019 at 12:24 AM Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > Hello, > > Your ValidateModelMixin and ManagerMixin look perfectly reasonable. You > wanted to customize two aspects of Django's be

Re: New optional settings - disable bulk_create in all managers and call self.full_clean() before saving the models

2019-01-05 Thread Aymeric Augustin
Hello, Your ValidateModelMixin and ManagerMixin look perfectly reasonable. You wanted to customize two aspects of Django's behavior. You managed to do so in four lines and three lines respectively. (I'm leaving out `id_generator` which is another concern.) Preventing database writes without mo

New optional settings - disable bulk_create in all managers and call self.full_clean() before saving the models

2019-01-05 Thread אורי
Hi, I added this new ticket today and I would like to know what is your feedback or comments? https://code.djangoproject.com/ticket/30080 We are using Django for Speedy Net and Speedy Match (currently Django 1.11.18, we can't upgrade to a newer version