2016-09-18 22:14:24 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.1 on 2016-09-18 20:20
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
2016-09-12 11:05:34 +02:00
|
|
|
|
2016-09-18 22:14:24 +02:00
|
|
|
import openslides.utils.models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
2019-01-06 16:22:33 +01:00
|
|
|
dependencies = [("mediafiles", "0001_initial")]
|
2016-09-18 22:14:24 +02:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
2019-01-06 16:22:33 +01:00
|
|
|
name="Topic",
|
2016-09-18 22:14:24 +02:00
|
|
|
fields=[
|
2019-01-06 16:22:33 +01:00
|
|
|
(
|
|
|
|
"id",
|
|
|
|
models.AutoField(
|
|
|
|
auto_created=True,
|
|
|
|
primary_key=True,
|
|
|
|
serialize=False,
|
|
|
|
verbose_name="ID",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
("title", models.CharField(max_length=256)),
|
|
|
|
("text", models.TextField(blank=True)),
|
|
|
|
(
|
|
|
|
"attachments",
|
|
|
|
models.ManyToManyField(blank=True, to="mediafiles.Mediafile"),
|
|
|
|
),
|
2016-09-18 22:14:24 +02:00
|
|
|
],
|
2019-01-06 16:22:33 +01:00
|
|
|
options={"default_permissions": ()},
|
2016-09-18 22:14:24 +02:00
|
|
|
bases=(openslides.utils.models.RESTModelMixin, models.Model),
|
2019-01-06 16:22:33 +01:00
|
|
|
)
|
2016-09-18 22:14:24 +02:00
|
|
|
]
|