Skip to content

Commit

Permalink
Changes in max_length of images on certificate model
Browse files Browse the repository at this point in the history
  • Loading branch information
FredMagas committed Aug 16, 2024
1 parent afb87dd commit 5821d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fredmagaweb/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Meta:

class Certificate(models.Model):
title = models.CharField(max_length=255)
image = models.ImageField(upload_to='certificates/', default='')
image = models.ImageField(upload_to='certificates/', max_length=255, default='')

def __str__(self):
return self.title

0 comments on commit 5821d3a

Please sign in to comment.