o a@sLddlmZmZddlmZddlmZGdddeZGdddeZ dS) )AuthenticationFormPasswordChangeForm)ValidationError) gettext_lazycs:eZdZdZiejdediZdZfddZZ 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.requiredcs2t||jst|jddd|jjiddS)Nrusername)codeparams)superconfirm_login_allowedis_staffrerror_messagesusername_field verbose_name)selfuser __class__s