upload/form.py
changeset 17 08a47999f316
parent 16 a5bbfbe5feb1
child 18 07408d1ced76
--- a/upload/form.py	Thu Sep 03 00:17:30 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-from django import forms
-from django.utils.translation import ugettext_lazy as _
-
-attrs_dict = { 'class': 'required' }
-
-#form for file field, lets you upload file
-class FileForm(forms.Form):	
-	file = forms.FileField()
-
-#form for creating a editable box, out of the content of the file
-class Uploaded_fileForm(forms.Form):
-	content = forms.CharField(widget=forms.Textarea(attrs=attrs_dict),label=_(u'content'))