conference/forms.py
changeset 6 4e819dd96e1f
child 7 4976650293f4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conference/forms.py	Fri Sep 25 00:27:42 2009 +0530
@@ -0,0 +1,16 @@
+from django import forms
+from django.contrib.auth.models import User
+from django.utils.translation import ugettext_lazy as _
+
+from content.models import Participant
+
+
+class ParticipantForm(forms.ModelForm):
+  class Meta:
+    model = Participant
+    
+class LoginForm(forms.Form):
+	username = forms.CharField(max_length=30, label=_(u'username'))
+
+	password = forms.CharField(max_length=50,widget=forms.PasswordInput,
+                               label=_("Enter New Password"))