diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 14:34:25 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 14:35:02 +0200 |
commit | e87be285da2557f3a684418c9f91c9dc22139fda (patch) | |
tree | a22f1e8ce124fa48d218d040b7eaafb33915d84b /ishtar_common/migrations | |
parent | 0a18b35422fd85f9cbb39796275bc90065c80689 (diff) | |
download | Ishtar-e87be285da2557f3a684418c9f91c9dc22139fda.tar.bz2 Ishtar-e87be285da2557f3a684418c9f91c9dc22139fda.zip |
Serialization - Import/Export: manage put an release of locks
Diffstat (limited to 'ishtar_common/migrations')
-rw-r--r-- | ishtar_common/migrations/0109_auto_20190911_1256.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0109_auto_20190911_1256.py b/ishtar_common/migrations/0109_auto_20190911_1256.py new file mode 100644 index 000000000..09d6d36f7 --- /dev/null +++ b/ishtar_common/migrations/0109_auto_20190911_1256.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-09-11 12:56 +from __future__ import unicode_literals + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('ishtar_common', '0108_auto_20190910_1323'), + ] + + operations = [ + migrations.AddField( + model_name='exporttask', + name='lock_user', + field=models.ForeignKey(blank=True, help_text='Owner of the lock if item are locked. Warning: if no user is provided the locks can be remove by any user with the permission to edit.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL, verbose_name='Lock user'), + ), + migrations.AddField( + model_name='exporttask', + name='put_locks', + field=models.BooleanField(default=False, verbose_name='Put locks on associated items'), + ), + migrations.AddField( + model_name='importtask', + name='releasing_locks', + field=models.BooleanField(default=False, verbose_name='Releasing locks on associated items'), + ), + ] |