OpenSlides/server/openslides/motions/migrations/0028_subcategories.py
FinnStutzenstein 2bcab5d098
Repository restructure
- moved all server related things into the folder `server`, so this
configuration is parallel to the client.
- All main "services" are now folders in the root directory
- Added Dockerfiles to each service (currently server and client)
- Added a docker compose configuration to start everything together.
Currently there are heavy dependencies into https://github.com/OpenSlides/openslides-docker-compose
- Resturctured the .gitignore. If someone needs something excluded,
please add it to the right section.
- Added initial build setup with Docker and docker-compose.
- removed setup.py. We won't deliver OpenSlides via pip anymore.
2020-08-21 08:11:13 +02:00

33 lines
909 B
Python

# Generated by Django 2.2 on 2019-06-03 09:32
from django.db import migrations, models
import openslides.utils.models
class Migration(migrations.Migration):
dependencies = [("motions", "0027_motion_block_internal")]
operations = [
migrations.AlterModelOptions(
name="category", options={"default_permissions": (), "ordering": ["weight"]}
),
migrations.AddField(
model_name="category",
name="parent",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=openslides.utils.models.SET_NULL_AND_AUTOUPDATE,
related_name="children",
to="motions.Category",
),
),
migrations.AddField(
model_name="category",
name="weight",
field=models.IntegerField(default=10000),
),
]