summaryrefslogtreecommitdiff
path: root/forums/forms.py
diff options
context:
space:
mode:
authorJayaram Pai2013-12-01 13:09:49 +0530
committerJayaram Pai2013-12-01 13:09:49 +0530
commit8533d61eb93ecb4c943ec3c3b83dfef87b20a916 (patch)
tree4fa52f3c02fe1f5c50a4d386cc670faeaae6d7e4 /forums/forms.py
parentaf3e4d8942680a5c08492d2ed179d8e401a8bf57 (diff)
downloadspoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.tar.gz
spoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.tar.bz2
spoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.zip
basic auth and new-question
Diffstat (limited to 'forums/forms.py')
-rw-r--r--forums/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/forums/forms.py b/forums/forms.py
new file mode 100644
index 0000000..2e3a6d1
--- /dev/null
+++ b/forums/forms.py
@@ -0,0 +1,6 @@
+from django import forms
+
+class UserLoginForm(forms.Form):
+ username = forms.CharField()
+ password = forms.CharField(widget=forms.PasswordInput())
+