diff options
| author | Santo Cariotti <dcariotti24@gmail.com> | 2020-03-20 10:11:03 +0000 |
|---|---|---|
| committer | Santo Cariotti <dcariotti24@gmail.com> | 2020-03-20 10:11:03 +0000 |
| commit | a79bca799a5830b035df818d7e87425c25d081df (patch) | |
| tree | 2089b30b66f0022cae889cb7739860dc143d5314 /src/frest/auth/forms.py | |
| parent | 6f3c1d94a6a8858369256b63cec90d42d61706ae (diff) | |
chore: move frest dir into src
Diffstat (limited to 'src/frest/auth/forms.py')
| -rw-r--r-- | src/frest/auth/forms.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frest/auth/forms.py b/src/frest/auth/forms.py new file mode 100644 index 0000000..abc2f49 --- /dev/null +++ b/src/frest/auth/forms.py @@ -0,0 +1,10 @@ +from .models import User +from forms import ModelForm + + +class UserForm(ModelForm): + model = User + + def __init__(self, data): + super().__init__(self.model) + self.data = data |
