dont use DictField for the moment
This commit is contained in:
parent
2ab3075ff8
commit
6d2dac59e2
|
@ -83,7 +83,7 @@ class File(models.Model):
|
||||||
ext = models.CharField(max_length=100, blank=True)
|
ext = models.CharField(max_length=100, blank=True)
|
||||||
oshash = models.CharField(max_length=128, blank=True, db_index=True)
|
oshash = models.CharField(max_length=128, blank=True, db_index=True)
|
||||||
# folder = models.ForeignKey("Folder")
|
# folder = models.ForeignKey("Folder")
|
||||||
info = DictField(blank=True)
|
info = models.CharField(blank=True, null=True)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def add_from_path(cls, category, user, path, **kwargs):
|
def add_from_path(cls, category, user, path, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user