diff options
author | Jessica Tallon <tsyesika@tsyesika.se> | 2015-10-01 13:23:33 +0200 |
---|---|---|
committer | Jessica Tallon <tsyesika@tsyesika.se> | 2015-10-07 14:40:44 +0200 |
commit | 30852fda1c119e6031914b983920898cd57d5aa9 (patch) | |
tree | e7727c3425d97ecae95f7b738023475f8ecbe11a /mediagoblin/api/views.py | |
parent | 0f3bf8d4b180ffd1907d1578e087522aad7d9158 (diff) | |
download | mediagoblin-30852fda1c119e6031914b983920898cd57d5aa9.tar.lz mediagoblin-30852fda1c119e6031914b983920898cd57d5aa9.tar.xz mediagoblin-30852fda1c119e6031914b983920898cd57d5aa9.zip |
Add the __model_args__ deletion code
This adds the "deleted" fields to the models as well as a new
__model_args__ section whcih supports the option for changing the
deletion type. Deletion is now handled by choosing a deletion method
based on the __model_args__["deletion"] setting, for example if it's
soft deletion it will call Model.soft_delete()
Diffstat (limited to 'mediagoblin/api/views.py')
0 files changed, 0 insertions, 0 deletions