Commits

juanpgaviria committed 9b0b57d

Change to the icon field from ImageField to URLField

Comments (0)

Files changed (1)

     user = models.ManyToManyField(User, related_name="badges", through='BadgeToUser')
     level = models.CharField(max_length=1, choices=LEVEL_CHOICES)
     
-    icon = models.ImageField(upload_to='badge_images')
+    icon = models.URLField(blank=True)
     
     objects = BadgeManager()