1. Udi Bauman
  2. ekkli-maps

Commits

u...@localhost  committed 7cc8c06

Made the story ordinal field mandatory

  • Participants
  • Parent commits 59f0b82
  • Branches default

Comments (0)

Files changed (1)

File maps/models.py

View file
     is_approved = models.BooleanField(default=False)
     created_on = models.DateTimeField(auto_now_add=True)
     schedule_date = models.DateTimeField(null=True, blank=True)
-    ordinal = models.IntegerField(_("ordinal"),null=True,blank=True)
+    ordinal = models.IntegerField(_("ordinal"))
     file = models.ImageField(upload_to='uploads/%Y/%m/%d/%H/%M/%S/', null=True,blank=True)
 
     @property