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 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')) 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) uuid = models.CharField(max_length=48, default=UUID_FUNCTION(), blank=True, editable=False)
file_mimetype = models.CharField(max_length=64, default='', editable=False) file_mimetype = models.CharField(max_length=64, default='', editable=False)

View File

@@ -8,5 +8,4 @@ celery==2.2.2
django-celery==2.2.2 django-celery==2.2.2
django-sentry==1.6.0 django-sentry==1.6.0
django-taggit==0.9.3 django-taggit==0.9.3
South==0.7.3
django-mptt==0.4.2 django-mptt==0.4.2

View File

@@ -5,5 +5,4 @@ celery==2.2.2
django-celery==2.2.2 django-celery==2.2.2
django-sentry==1.6.0 django-sentry==1.6.0
django-taggit==0.9.3 django-taggit==0.9.3
South==0.7.3
django-mptt==0.4.2 django-mptt==0.4.2

View File

@@ -144,7 +144,6 @@ INSTALLED_APPS = (
'tags', 'tags',
'document_comments', 'document_comments',
'user_management', 'user_management',
'south',
'documents', 'documents',
'grouping', 'grouping',
'mptt', 'mptt',