output field

This commit is contained in:
DerTyp187
2021-11-13 16:32:55 +01:00
parent 1335bf8ce6
commit 50a2699798
5 changed files with 45 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ class Category(models.Model):
class Topic(models.Model):
title = models.CharField(max_length=200)
code_text = models.TextField()
output = models.TextField(blank=True)
date_created = models.DateTimeField(default=timezone.now)
category = models.ForeignKey(Category, on_delete=models.CASCADE)
version = models.CharField(max_length=100, blank=True)