Did I find the right examples for you? yes no

All Samples(35)  |  Call(3)  |  Derive(0)  |  Import(32)

src/d/j/django-lfs-0.7.7/lfs/customer/utils.py   django-lfs(Download)
# django imports
from django.core.exceptions import ObjectDoesNotExist
 
# lfs imports
from lfs.customer.models import Customer, Address
    called.
    """
    customer = Customer(session=request.session.session_key)
    if request.user.is_authenticated():
        customer.user = request.user

src/l/f/lfs-HEAD/customer/utils.py   lfs(Download)
# django imports
from django.core.exceptions import ObjectDoesNotExist
 
# lfs imports
from lfs.customer.models import Customer
    called.
    """
    customer = Customer(session = request.session.session_key)
    if request.user.is_authenticated():
        customer.user = request.user

src/d/j/django-lfs-HEAD/lfs/customer/utils.py   django-lfs(Download)
# lfs imports
from lfs.addresses.settings import ADDRESS_MODEL
from lfs.customer.models import Customer
import lfs.core.utils
 
        request.session.save()
 
    customer = Customer(session=request.session.session_key)
    if request.user.is_authenticated():
        customer.user = request.user

src/l/f/lfs-HEAD/customer/admin.py   lfs(Download)
# django imports
from django.contrib import admin
 
# lfs imports
from lfs.customer.models import Customer

src/d/j/django-lfs-0.7.7/lfs/manage/views/payment.py   django-lfs(Download)
from lfs.core.widgets.image import LFSImageInput
from lfs.criteria import utils as criteria_utils
from lfs.customer.models import Customer
from lfs.payment.models import PaymentMethod
from lfs.payment.models import PaymentMethodPrice

src/d/j/django-lfs-0.7.7/lfs/manage/views/customer.py   django-lfs(Download)
from lfs.cart.models import Cart
from lfs.core.utils import LazyEncoder
from lfs.customer.models import Customer
from lfs.manage.utils import get_current_page
from lfs.order.models import Order

src/d/j/django-lfs-0.7.7/lfs/manage/views/carts.py   django-lfs(Download)
from lfs.cart.models import Cart
from lfs.core.utils import LazyEncoder
from lfs.customer.models import Customer
 
 

src/d/j/django-lfs-0.7.7/lfs/manage/shipping_methods/views.py   django-lfs(Download)
from lfs.core.widgets.image import LFSImageInput
from lfs.criteria import utils as criteria_utils
from lfs.customer.models import Customer
from lfs.manage.shipping_methods.forms import ShippingMethodAddForm
from lfs.manage.shipping_methods.forms import ShippingMethodForm

src/d/j/django-lfs-HEAD/lfs/customer/management/commands/cleanup_customers.py   django-lfs(Download)
    def handle(self, *args, **options):
        from lfs.customer.models import Customer
        from lfs.order.models import Order
        from lfs.cart.models import Cart
        cnt = 0

src/d/j/django-lfs-HEAD/lfs/core/management/commands/lfs_migrate.py   django-lfs(Download)
        from lfs.criteria.models import ShippingMethodCriterion
        from lfs.criteria.models import PaymentMethodCriterion
        from lfs.customer.models import Customer
        from lfs.order.models import Order
 

  1 | 2 | 3 | 4  Next