Browse Source
Merge pull request #1500 from YosuaMichael/increase-dataset-filepath-max-length
Increase the allowed max length for uploaded dataset filepath
pull/1520/head
Hiroki Nakayama
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
backend/api/models.py
|
|
@ -147,7 +147,7 @@ class Label(models.Model): |
|
|
|
|
|
|
|
class Example(models.Model): |
|
|
|
meta = models.JSONField(default=dict) |
|
|
|
filename = models.FileField(default='.') |
|
|
|
filename = models.FileField(default='.', max_length=1024) |
|
|
|
project = models.ForeignKey( |
|
|
|
to=Project, |
|
|
|
on_delete=models.CASCADE, |
|
|
|