diff options
Diffstat (limited to 'api/models.py')
-rw-r--r-- | api/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/models.py b/api/models.py index eb9c2e16..bc778330 100644 --- a/api/models.py +++ b/api/models.py @@ -114,7 +114,9 @@ class SpecialSnake(ModelReprMixin, models.Model): info = models.TextField( help_text='Info about a special snake.' ) - image = models.URLField() + images = pgfields.ArrayField( + models.URLField() + ) def __str__(self): return self.name |