aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/api/views.py
diff options
context:
space:
mode:
authorJessica Tallon <tsyesika@tsyesika.se>2015-10-01 13:23:33 +0200
committerJessica Tallon <tsyesika@tsyesika.se>2015-10-07 14:40:44 +0200
commit30852fda1c119e6031914b983920898cd57d5aa9 (patch)
treee7727c3425d97ecae95f7b738023475f8ecbe11a /mediagoblin/api/views.py
parent0f3bf8d4b180ffd1907d1578e087522aad7d9158 (diff)
downloadmediagoblin-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