Explorar el Código

Fix default day choice in Locations

Scot Hacker hace 8 años
padre
commit
84b82f117d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bakerydemo/locations/models.py

+ 1 - 1
bakerydemo/locations/models.py

@@ -32,7 +32,7 @@ class OperatingHours(models.Model):
     day = models.CharField(
         max_length=4,
         choices=DAY_CHOICES,
-        default='MONDAY'
+        default='MON'
     )
     opening_time = models.TimeField(
         blank=True,