source: mauRepo/dj_security/tags/v_0_0_7/dj_security/login_form.py @ 8704

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/tags/v_0_0_7/dj_security/login_form.py@8704
Revision 8704, 320 bytes checked in by mnagni, 7 years ago (diff)

Encodes base64 the GET's parameters

  • Property svn:mime-type set to text/plain
Line 
1'''
2Created on 29 Oct 2012
3
4@author: mnagni
5'''
6from django.forms.forms import Form
7from django.forms.fields import CharField
8from django.forms.widgets import PasswordInput
9
10class LoginForm(Form):
11    username = CharField(max_length=100)
12    password = CharField(widget=PasswordInput(render_value=False),max_length=100)
Note: See TracBrowser for help on using the repository browser.