core: reformat file tree
This commit is contained in:
7
accounts/forms/change_password.py
Normal file
7
accounts/forms/change_password.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django import forms
|
||||
from ..settings import *
|
||||
|
||||
class ChangePasswordForm(forms.Form):
|
||||
username = forms.CharField(label="username", max_length=USERNAME_MAX_SIZE, min_length=USERNAME_MIN_SIZE, required=True)
|
||||
current_password = forms.CharField(label="current_password", max_length=PASSWORD_MAX_SIZE, min_length=PASSWORD_MIN_SIZE, required=True)
|
||||
new_password = forms.CharField(label="new_password", max_length=PASSWORD_MAX_SIZE, min_length=PASSWORD_MIN_SIZE, required=True)
|
Reference in New Issue
Block a user