Did I find the right examples for you? yes no

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/d/j/django-lfs-HEAD/lfs/checkout/views.py   django-lfs(Download)
from lfs.customer import utils as customer_utils
from lfs.customer.utils import create_unique_username
from lfs.customer.forms import CreditCardForm, CustomerAuthenticationForm
from lfs.customer.forms import BankAccountForm
from lfs.customer.forms import RegisterForm
 
    # Using Djangos default AuthenticationForm
    login_form = CustomerAuthenticationForm()
    register_form = RegisterForm()
 
    if request.POST.get("action") == "login":
        login_form = CustomerAuthenticationForm(data=request.POST)

src/d/j/django-lfs-HEAD/lfs/customer/views.py   django-lfs(Download)
from lfs.addresses.utils import AddressManagement
from lfs.customer import utils as customer_utils
from lfs.customer.forms import EmailForm, CustomerAuthenticationForm
from lfs.customer.forms import RegisterForm
from lfs.customer.utils import create_unique_username
    #     raise Http404()
 
    login_form = CustomerAuthenticationForm()
    login_form.fields["username"].label = _(u"E-Mail")
    register_form = RegisterForm()
 
    if request.POST.get("action") == "login":
        login_form = CustomerAuthenticationForm(data=request.POST)