Format python code according to ufmt
This commit is contained in:
parent
5bd8137df4
commit
f58b2f6303
|
|
@ -1,8 +1,9 @@
|
||||||
# Generated by Django 3.2.13 on 2022-12-27 14:58
|
# Generated by Django 3.2.13 on 2022-12-27 14:58
|
||||||
|
|
||||||
import django.core.validators
|
import django.core.validators
|
||||||
from django.db import migrations, models
|
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
import vbv_lernwelt.feedback.models
|
import vbv_lernwelt.feedback.models
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -11,28 +12,103 @@ class Migration(migrations.Migration):
|
||||||
initial = True
|
initial = True
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('learnpath', '0009_alter_learningcontent_contents'),
|
("learnpath", "0009_alter_learningcontent_contents"),
|
||||||
('course', '0007_coursesessionuser_role'),
|
("course", "0007_coursesessionuser_role"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name='FeedbackResponse',
|
name="FeedbackResponse",
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
(
|
||||||
('satisfaction', vbv_lernwelt.feedback.models.FeedbackIntegerField(null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4), django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4)])),
|
"id",
|
||||||
('goal_attainment', vbv_lernwelt.feedback.models.FeedbackIntegerField(null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4), django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4)])),
|
models.BigAutoField(
|
||||||
('proficiency', models.IntegerField(null=True)),
|
auto_created=True,
|
||||||
('received_materials', models.BooleanField(null=True)),
|
primary_key=True,
|
||||||
('materials_rating', vbv_lernwelt.feedback.models.FeedbackIntegerField(null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4), django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4)])),
|
serialize=False,
|
||||||
('instructor_competence', vbv_lernwelt.feedback.models.FeedbackIntegerField(null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4), django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4)])),
|
verbose_name="ID",
|
||||||
('instructor_respect', vbv_lernwelt.feedback.models.FeedbackIntegerField(null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4), django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(4)])),
|
),
|
||||||
('instructor_open_feedback', models.TextField(blank=True)),
|
),
|
||||||
('would_recommend', models.BooleanField(null=True)),
|
(
|
||||||
('course_positive_feedback', models.TextField(blank=True)),
|
"satisfaction",
|
||||||
('course_negative_feedback', models.TextField(blank=True)),
|
vbv_lernwelt.feedback.models.FeedbackIntegerField(
|
||||||
('circle', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='learnpath.circle')),
|
null=True,
|
||||||
('course_session', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='course.coursesession')),
|
validators=[
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"goal_attainment",
|
||||||
|
vbv_lernwelt.feedback.models.FeedbackIntegerField(
|
||||||
|
null=True,
|
||||||
|
validators=[
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
("proficiency", models.IntegerField(null=True)),
|
||||||
|
("received_materials", models.BooleanField(null=True)),
|
||||||
|
(
|
||||||
|
"materials_rating",
|
||||||
|
vbv_lernwelt.feedback.models.FeedbackIntegerField(
|
||||||
|
null=True,
|
||||||
|
validators=[
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"instructor_competence",
|
||||||
|
vbv_lernwelt.feedback.models.FeedbackIntegerField(
|
||||||
|
null=True,
|
||||||
|
validators=[
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"instructor_respect",
|
||||||
|
vbv_lernwelt.feedback.models.FeedbackIntegerField(
|
||||||
|
null=True,
|
||||||
|
validators=[
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
django.core.validators.MinValueValidator(1),
|
||||||
|
django.core.validators.MaxValueValidator(4),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
("instructor_open_feedback", models.TextField(blank=True)),
|
||||||
|
("would_recommend", models.BooleanField(null=True)),
|
||||||
|
("course_positive_feedback", models.TextField(blank=True)),
|
||||||
|
("course_negative_feedback", models.TextField(blank=True)),
|
||||||
|
(
|
||||||
|
"circle",
|
||||||
|
models.ForeignKey(
|
||||||
|
on_delete=django.db.models.deletion.PROTECT,
|
||||||
|
to="learnpath.circle",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
(
|
||||||
|
"course_session",
|
||||||
|
models.ForeignKey(
|
||||||
|
on_delete=django.db.models.deletion.PROTECT,
|
||||||
|
to="course.coursesession",
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue