mpeltriaux
83137f0e58
* changes mandatory state of users and teams on admin backend to optional (as expected by the model) * adds team selection to admin backend
27 lines
858 B
Python
27 lines
858 B
Python
# Generated by Django 3.1.3 on 2022-11-16 12:22
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('user', '0006_auto_20220815_0759'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('compensation', '0011_ecoaccount_deductable_rest'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='ecoaccount',
|
|
name='teams',
|
|
field=models.ManyToManyField(blank=True, help_text='Teams having access (data shared with)', to='user.Team'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='ecoaccount',
|
|
name='users',
|
|
field=models.ManyToManyField(blank=True, help_text='Users having access (data shared with)', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|