from django db import models class User models Model vk_user_id models

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from django.db import models
class User(models.Model):
vk_user_id = models.IntegerField()
city = models.CharField(max_length=100)
class Manifiest(models.Model):
video_url = models.URLField()
likes_users = models.ManyToManyField(User)
status = models.CharField()
video_creation_data_time = models.DateTimeField()
user = models.ForeignKey(User)
test_result = models.ForeignKey(TestResult)
class TestResult(models.Model):
html_text = models.CharField()
image_url = models.URLField()
answer_1_type = models.CharField()
answer_2_type = models.CharField()
frame_3 = models.CharField()
frame_4 = models.CharField()
class Question(models.Model):
question = models.CharField()
class Answer(models.Model):
answer = models.CharField()
type_answer = models.CharField()
question = models.ForeignKey(Question)
class Track(models.Model):
music_url = models.URLField()
author = models.CharField()
name = models.CharField()
class DefaultText(models.Model):
input_name = models.CharField()
text = models.CharField()