
    h                     X    S SK JrJr  S SKJr  S SKJr   " S S\5      r " S S\5      r	g)	    )AuthenticationFormPasswordChangeForm)ValidationError)gettext_lazyc                   `   ^  \ rS rSrSr0 \R                  ES\" S5      0ErSrU 4S jr	Sr
U =r$ )AdminAuthenticationForm   z5
A custom authentication form used in the admin app.
invalid_loginztPlease enter the correct %(username)s and password for a staff account. Note that both fields may be case-sensitive.requiredc                    > [         TU ]  U5        UR                  (       d.  [        U R                  S   SSU R
                  R                  0S9eg )Nr
   username)codeparams)superconfirm_login_allowedis_staffr   error_messagesusername_fieldverbose_name)selfuser	__class__s     L/var/www/html/env/lib/python3.13/site-packages/django/contrib/admin/forms.pyr   -AdminAuthenticationForm.confirm_login_allowed   sN    %d+}}!##O4$"D$7$7$D$DE       )__name__
__module____qualname____firstlineno____doc__r   r   _required_css_classr   __static_attributes____classcell__)r   s   @r   r   r      sD    

+
+D
N $ r   r   c                       \ rS rSrSrSrg)AdminPasswordChangeForm   r   r   N)r   r   r   r    r#   r$   r   r   r   r'   r'      s    #r   r'   N)
django.contrib.auth.formsr   r   django.core.exceptionsr   django.utils.translationr   r"   r   r'   r   r   r   <module>r,      s(    L 2 60 0$0 $r   