| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/contrib/admin/__pycache__/ |
Upload File : |
�
�|�e� � �f � d dl mZmZ d dlmZ d dlmZ G d� de� � Z G d� de� � Z dS ) � )�AuthenticationForm�PasswordChangeForm)�ValidationError)�gettext_lazyc �R � � e Zd ZdZi ej �d ed� � i�ZdZ� fd�Z� xZ S )�AdminAuthenticationFormz=
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 � � � |� � |j s)t | j d dd| j j i�� � �d S )Nr �username)�code�params)�super�confirm_login_allowed�is_staffr �error_messages�username_field�verbose_name)�self�user� __class__s ��</usr/lib/python3/dist-packages/django/contrib/admin/forms.pyr z-AdminAuthenticationForm.confirm_login_allowed sb �� �
���%�%�d�+�+�+��}� �!��#�O�4�$�"�D�$7�$D�E�� � �
� � � )
�__name__�
__module__�__qualname__�__doc__r r �_�required_css_classr �
__classcell__)r s @r r r s} �� � � � � �� ��
�
+�����
D�
�
�� �N� $��� � � � � � � � r r c � � e Zd ZdZdS )�AdminPasswordChangeFormr
N)r r r r � r r r"