Changes between Initial Version and Version 3 of Ticket #30080


Ignore:
Timestamp:
Jan 12, 2019, 8:00:41 AM (6 years ago)
Author:
אורי
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30080

    • Property Version 2.11.11
    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Resolutionwontfix
    • Property Status newclosed
  • Ticket #30080 – Description

    initial v3  
    5252I 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.
    5353
    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.
     54The 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.
Back to Top