Did I find the right examples for you? yes no

All Samples(28)  |  Call(28)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-HEAD/lfs/core/management/commands/lfs_init.py   django-lfs(Download)
 
        # Shipping methods
        ShippingMethod.objects.create(name="Standard", priority=1, active=1)
 
        # Pages

src/d/j/django-lfs-0.7.7/lfs/core/management/commands/lfs_init.py   django-lfs(Download)
 
        # Shipping methods
        ShippingMethod.objects.create(name="Standard", priority=1, active=1)
 
        # Pages

src/l/f/lfs-HEAD/utils/generator.py   lfs(Download)
def generate_shipping(request):
    """
    """
    ShippingMethod.objects.all().delete()
    sm1 = ShippingMethod.objects.create(name="Standard", active=True)
    sm2 = ShippingMethod.objects.create(name="Express", active=True)

src/d/j/django-lfs-HEAD/lfs/shipping/tests.py   django-lfs(Download)
        self.dt3 = DeliveryTime.objects.create(min=5, max=6, unit=DELIVERY_TIME_UNIT_DAYS)
 
        self.sm1 = ShippingMethod.objects.create(name="Standard", active=True, price=1, delivery_time=self.dt1, priority=1)
        self.sm2 = ShippingMethod.objects.create(name="Express", active=True, delivery_time=self.dt2, priority=2)
 

src/d/j/django-lfs-0.7.7/lfs/shipping/tests.py   django-lfs(Download)
        self.dt3 = DeliveryTime.objects.create(min=5, max=6, unit=DELIVERY_TIME_UNIT_DAYS)
 
        self.sm1 = ShippingMethod.objects.create(name="Standard", active=True, price=1, delivery_time=self.dt1, priority=1)
        self.sm2 = ShippingMethod.objects.create(name="Express", active=True, delivery_time=self.dt2, priority=2)
 

src/l/f/lfs-HEAD/shipping/tests.py   lfs(Download)
        self.dt3 = DeliveryTime.objects.create(min=5, max=6, unit=DELIVERY_TIME_UNIT_DAYS)
 
        self.sm1 = ShippingMethod.objects.create(name="Standard", active=True, price=1, delivery_time=self.dt1)
        self.sm2 = ShippingMethod.objects.create(name="Express", active=True, delivery_time=self.dt2)
 

src/d/j/django-lfs-HEAD/lfs/customer/tests.py   django-lfs(Download)
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,

src/d/j/django-lfs-HEAD/lfs/checkout/tests/test_addresses.py   django-lfs(Download)
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,

src/d/j/django-lfs-HEAD/lfs/checkout/tests/test_checkout.py   django-lfs(Download)
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,

src/d/j/django-lfs-0.7.7/lfs/checkout/tests/test_checkout.py   django-lfs(Download)
 
        shipping_method = ShippingMethod.objects.create(
            name="Standard",
            active=True,
            price=1.0,

  1 | 2  Next