Did I find the right examples for you? yes no

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

src/d/j/django-lfs-HEAD/lfs/manage/customer_tax/views.py   django-lfs(Download)
from lfs.catalog.models import Product
from lfs.core.utils import LazyEncoder
from lfs.customer_tax.models import CustomerTax
from lfs.manage.customer_tax.forms import CustomerTaxForm
 

src/d/j/django-lfs-HEAD/lfs/manage/customer_tax/forms.py   django-lfs(Download)
 
# lfs imports
from lfs.customer_tax.models import CustomerTax
 
 

src/d/j/django-lfs-0.7.7/lfs/manage/customer_tax/views.py   django-lfs(Download)
import lfs.core.utils
from lfs.catalog.models import Product
from lfs.customer_tax.models import CustomerTax
from lfs.manage.customer_tax.forms import CustomerTaxForm
 

src/d/j/django-lfs-0.7.7/lfs/manage/customer_tax/forms.py   django-lfs(Download)
 
# lfs imports
from lfs.customer_tax.models import CustomerTax
 
class CustomerTaxForm(forms.ModelForm):

src/d/j/django-lfs-HEAD/lfs/customer_tax/utils.py   django-lfs(Download)
# lfs imports
from lfs.criteria.utils import get_first_valid
from lfs.customer_tax.models import CustomerTax
 
 

src/d/j/django-lfs-0.7.7/lfs/customer_tax/utils.py   django-lfs(Download)
# lfs imports
from lfs.customer.utils import get_customer
from lfs.customer_tax.models import CustomerTax
 
 

src/d/j/django-lfs-HEAD/lfs/plugins.py   django-lfs(Download)
    def get_tax_rate(self):
        from lfs.criteria.utils import get_first_valid
        from lfs.customer_tax.models import CustomerTax
 
        customer_tax = get_first_valid(self.request, CustomerTax.objects.all(), self.shipping_method)

src/d/j/django-lfs-HEAD/lfs/shipping/tests.py   django-lfs(Download)
from lfs.core.models import Country
from lfs.customer.utils import get_or_create_customer
from lfs.customer_tax.models import CustomerTax
from lfs.tests.utils import DummyRequest
 

src/d/j/django-lfs-HEAD/lfs/customer_tax/tests.py   django-lfs(Download)
from lfs.criteria.models import CountryCriterion
from lfs.criteria.models import Criterion
from lfs.customer_tax.models import CustomerTax
from lfs.customer_tax.utils import get_customer_tax_rate
from lfs.customer.utils import get_or_create_customer

src/d/j/django-lfs-0.7.7/lfs/customer_tax/tests.py   django-lfs(Download)
from lfs.catalog.models import Product
from lfs.core.models import Country
from lfs.customer_tax.models import CustomerTax
from lfs.customer_tax.utils import get_customer_tax_rate
from lfs.customer.utils import get_or_create_customer