forked from 0x2620/pandora
folder names can be longer
This commit is contained in:
parent
0f6a2bd94e
commit
6c3fbb6fa3
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ class Instance(models.Model):
|
||||||
mtime = models.IntegerField(default=lambda: int(time.time()), editable=False)
|
mtime = models.IntegerField(default=lambda: int(time.time()), editable=False)
|
||||||
|
|
||||||
name = models.CharField(max_length=2048)
|
name = models.CharField(max_length=2048)
|
||||||
folder = models.CharField(max_length=255)
|
folder = models.CharField(max_length=2048)
|
||||||
|
|
||||||
file = models.ForeignKey(File, related_name='instances')
|
file = models.ForeignKey(File, related_name='instances')
|
||||||
volume = models.ForeignKey(Volume, related_name='files')
|
volume = models.ForeignKey(Volume, related_name='files')
|
||||||
|
|
Loading…
Reference in a new issue