added tags

This commit is contained in:
DerTyp187
2021-11-11 18:40:50 +01:00
parent faef6f16ba
commit 43eac1907d
4 changed files with 29 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ class Topic(models.Model):
date_created = models.DateTimeField(default=timezone.now)
category = models.ForeignKey(Category, on_delete=models.CASCADE)
version = models.CharField(max_length=100, blank=True)
tags = models.CharField(max_length=200, blank=True)
def __str__(self):
return self.category.title + " - " + self.title