added filename field for the 3d model

This commit is contained in:
2013-07-24 20:31:29 +10:00
parent 234e7f2c60
commit 17c10c3278
6 changed files with 88 additions and 1 deletions

View File

@@ -18,5 +18,6 @@ class Category(CommonInfo):
class Sample(CommonInfo):
model_filename = models.CharField(max_length=1000)
parent = models.ForeignKey(Category, blank=True, null=True,
on_delete=models.SET_NULL)