Really remove South app and change document metadata fields 'value' from a TextField to a CharField(256)

This commit is contained in:
Roberto Rosario
2011-05-21 00:54:36 -04:00
parent 24e2fcc56d
commit 1b43ec2c96
4 changed files with 1 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ class Document(models.Model):
"""
Defines a single document with it's fields and properties
"""
document_type = models.ForeignKey(DocumentType, verbose_name=_(u'document type'), null=True, blank=True)
document_type = models.ForeignKey(DocumentType, verbose_name=_(u'document type'), blank=True)
file = models.FileField(upload_to=get_filename_from_uuid, storage=STORAGE_BACKEND(), verbose_name=_(u'file'))
uuid = models.CharField(max_length=48, default=UUID_FUNCTION(), blank=True, editable=False)
file_mimetype = models.CharField(max_length=64, default='', editable=False)