11ba7b9841
Make sure, that a related element gets an autoupdate, when the main object is deleted
23 lines
553 B
Python
23 lines
553 B
Python
# Generated by Django 2.1.5 on 2019-01-19 13:25
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
import openslides.utils.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("users", "0008_user_gender")]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="personalnote",
|
|
name="user",
|
|
field=models.OneToOneField(
|
|
on_delete=openslides.utils.models.CASCADE_AND_AUTOUODATE,
|
|
to=settings.AUTH_USER_MODEL,
|
|
),
|
|
)
|
|
]
|