Procházet zdrojové kódy

Reorder model fields

master
David Winterbottom před 13 roky
rodič
revize
8977be5ce5
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      oscar/apps/offer/models.py

+ 3
- 3
oscar/apps/offer/models.py Zobrazit soubor

@@ -58,7 +58,7 @@ class ConditionalOffer(models.Model):
58 58
         help_text=_("The highest priority offers are applied first"))
59 59
 
60 60
     # Use this field to limit the number of times this offer can be applied to
61
-    # a basket
61
+    # a basket.
62 62
     max_applications = models.PositiveIntegerField(
63 63
         blank=True, null=True,
64 64
         help_text=_("This controls the maximum times an offer can "
@@ -70,10 +70,10 @@ class ConditionalOffer(models.Model):
70 70
                                          default=D('0.00'))
71 71
     num_orders = models.PositiveIntegerField(_("Number of Orders"), default=0)
72 72
 
73
-    date_created = models.DateTimeField(_("Date Created"), auto_now_add=True)
74
-
75 73
     redirect_url = ExtendedURLField(_("URL redirect (optional)"), blank=True)
76 74
 
75
+    date_created = models.DateTimeField(_("Date Created"), auto_now_add=True)
76
+
77 77
     objects = models.Manager()
78 78
     active = ActiveOfferManager()
79 79
 

Načítá se…
Zrušit
Uložit