aboutsummaryrefslogtreecommitdiff
path: root/app/dispatchAuth/forms.py
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-11-10 15:25:29 -0500
committerMitch Riedstra <Mitch@riedstra.us>2017-11-10 15:25:29 -0500
commit69d5a098f830128414f178d9382c65221f06e4bb (patch)
tree0a0d6346d5b39634e19ce01689498d9ccf4e867c /app/dispatchAuth/forms.py
parentc80bafec506beef3184381ae7f9b55edd438e45a (diff)
downloaddispatch-tracker-69d5a098f830128414f178d9382c65221f06e4bb.tar.gz
dispatch-tracker-69d5a098f830128414f178d9382c65221f06e4bb.tar.xz
Initial version of registration system--needs work
Diffstat (limited to 'app/dispatchAuth/forms.py')
-rw-r--r--app/dispatchAuth/forms.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/dispatchAuth/forms.py b/app/dispatchAuth/forms.py
new file mode 100644
index 0000000..99781f7
--- /dev/null
+++ b/app/dispatchAuth/forms.py
@@ -0,0 +1,11 @@
+from registration.forms import RegistrationForm
+from .models import User
+
+
+class UserForm(RegistrationForm):
+ # fields = ['email', 'first_name', 'last_name']
+ # model = User
+
+ class Meta:
+ fields = ['email', 'first_name', 'last_name']
+ model = User