This commit is contained in:
sanj 2010-09-15 23:56:20 +05:30
parent 6d2dac59e2
commit b9317ab785

View File

@ -83,7 +83,7 @@ class File(models.Model):
ext = models.CharField(max_length=100, blank=True)
oshash = models.CharField(max_length=128, blank=True, db_index=True)
# folder = models.ForeignKey("Folder")
info = models.CharField(blank=True, null=True)
info = models.CharField(max_length=1024, blank=True, null=True)
@classmethod
def add_from_path(cls, category, user, path, **kwargs):