Skip to content
Snippets Groups Projects
Commit 052d098c authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Update models.py in order to change REBUSSelectModel to BugReportSelectModel

parent 38de15a0
No related branches found
No related tags found
1 merge request!6Add ckeditor in FAQ questions admin interface
......@@ -51,7 +51,7 @@ class FAQQuestion(models.Model):
verbose_name_plural = _("FAQ questions")
class REBUSSelectModel(models.Model):
class BugReportSelectModel(models.Model):
name = models.CharField(max_length=40, verbose_name=_("category name"))
icon = models.CharField(max_length=50, verbose_name=_("icon"), blank=True)
parent = models.ForeignKey("self", related_name="children", on_delete=models.CASCADE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment