Разбил файлик models.py на отдельные файлы моделей
This commit is contained in:
9
dbapp/mainapp/models/errors_report.py
Normal file
9
dbapp/mainapp/models/errors_report.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.db import models
|
||||
|
||||
# class IssueType(models.Model):
|
||||
# name = models.CharField(max_length=100)
|
||||
# CATEGORY_CHOICES = [
|
||||
# ('error', 'Ошибка'),
|
||||
# ('malfunction', 'Неисправность'),
|
||||
# ]
|
||||
# category = models.CharField(max_length=12, choices=CATEGORY_CHOICES)
|
||||
Reference in New Issue
Block a user