oops
This commit is contained in:
parent
6d2dac59e2
commit
b9317ab785
|
@ -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 = models.CharField(blank=True, null=True)
|
info = models.CharField(max_length=1024, 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