10 lines
303 B
Python
10 lines
303 B
Python
from django import forms
|
|
from django.contrib.auth.models import User
|
|
from django.contrib.auth import authenticate
|
|
|
|
from ..status_code import *
|
|
|
|
class ChangePasswordForm(forms.Form):
|
|
new_password = forms.CharField(required=True, error_messages = {
|
|
'required': PASSWORD_MISSING,
|
|
}) |