115 lines
4.5 KiB
Python
115 lines
4.5 KiB
Python
# Generated by Django 3.2.13 on 2022-12-27 14:58
|
|
|
|
import django.core.validators
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
import vbv_lernwelt.feedback.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
("learnpath", "0009_alter_learningcontent_contents"),
|
|
("course", "0007_coursesessionuser_role"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="FeedbackResponse",
|
|
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),
|
|
],
|
|
),
|
|
),
|
|
(
|
|
"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",
|
|
),
|
|
),
|
|
],
|
|
),
|
|
]
|