Implemented tree view for selection of samples
This commit is contained in:
@@ -42,7 +42,8 @@ class Sample(CommonInfo):
|
||||
description = models.CharField(max_length=2000, default='', blank=True,
|
||||
null=True)
|
||||
parent = models.ForeignKey(Category, blank=True, null=True,
|
||||
on_delete=models.SET_NULL)
|
||||
on_delete=models.SET_NULL,
|
||||
related_name="samples")
|
||||
|
||||
|
||||
class Question(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user