Files
dbstorage/dbapp/mainapp/models/errors_report.py

9 lines
312 B
Python

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)