summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 995a2c136..76f16eaae 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3096,9 +3096,9 @@ class Document(OwnPerms, ImageModel, FullSearch):
LINK_SPLIT = u"<||>"
-
-
title = models.TextField(_(u"Title"), blank=True, default='')
+ associated_file = models.FileField(
+ upload_to=get_image_path, blank=True, null=True, max_length=255)
index = models.IntegerField(verbose_name=_(u"Index"), blank=True,
null=True)
external_id = models.TextField(_(u"External ID"), null=True, blank=True)