You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
FileField and File handling.
ImageField stub (more is comming soon)
stage method in relations.
ModelRefs passed as normal positional arguments are automatically staged.
ContentType was added.
Proper callback support was added.
remove_referenced parameter for ForeignKeys was added.
Virtual CASCADE deletion is now used for ForeignKeys without constraint.
Changed
Breaking: ModelReferences use now the related name instead of the model name.
Breaking: Field Factories pass now keyword arguments as positional dictionary. This way keyword arguments manipulations in validate are possible.
This way it can be distinguished between multiple foreign keys to the same model and self-references are possible.
model_references are superseeded by post_save_fields in meta.
ModelParser mixin is gone. Use the classmethod extract_column_values instead.
edgy_settr is not used internally anymore (circular imports).
modify_input receives now an argument phase.
foreign_key_fields is now a frozenset.
Switch away from nest_asyncio.
All sqlalchemy operators are now accessable. The setting for them is gone.
Fixed
Factory overwrites can now access owner.
Foreign keys to reflected models.
Handling to string references not in registry loaded yet.
Timezone aware Datetime saved in timezone unaware database columns.