Changes between Initial Version and Version 3 of Ticket #30080
- Timestamp:
- Jan 12, 2019, 8:00:41 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30080
- Property Version 2.1 → 1.11
- Property Component Uncategorized → Database layer (models, ORM)
- Property Resolution → wontfix
- Property Status new → closed
-
Ticket #30080 – Description
initial v3 52 52 I thought maybe it's good to add these settings - disable `bulk_create` in all managers and call `self.full_clean()` before saving the models - as an optional settings both in the project and also in each model (maybe in `class Meta`) so it will be possible to override Django's default both per-project and also for any specific model. I understand that the default is not to call `self.full_clean()` before saving the models and to allow `bulk_create` in the managers, but I suspect this may lead to invalid data in the database of the projects. 53 53 54 The current code in the master is on https://github.com/speedy-net/speedy-net/blob/master/speedy/core/base/models.py, and the code in the branch I'm currently working on is on https://github.com/speedy-net/speedy-net/blob/ uri_merge_with_master_2019-01-05_a/speedy/core/base/models.py.54 The current code in the master is on https://github.com/speedy-net/speedy-net/blob/master/speedy/core/base/models.py, and the code in the branch I'm currently working on is on https://github.com/speedy-net/speedy-net/blob/staging/speedy/core/base/models.py.