Source code for superdjango.contrib.accounts.auth.forms

# Imports

from django import forms
from django.contrib.auth.forms import AuthenticationForm as BaseAuthenticationForm
from django.utils.translation import ugettext_lazy as _

# Exports

__all__ = (
    "AuthenticationForm",
)

# Forms


[docs]class AuthenticationForm(BaseAuthenticationForm): """User login form with "remember me" option.""" remember_me = forms.BooleanField( initial=False, label=_("Remember Me"), required=False )