web/ldt_utils/ldt/forms.py
changeset 5 ae8593287883
parent 4 7c994c98d1df
child 6 7256b057c180
--- a/web/ldt_utils/ldt/forms.py	Tue Jun 08 15:31:42 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-from django import forms
-from models import Project, Content
-import uuid
-
-class LdtImportForm(forms.Form):
-    importFile = forms.FileField()
-    videoPath = forms.CharField(required=False)
-    flatten = forms.BooleanField(required=False, initial=True)   
-    
-class LdtAddForm(forms.ModelForm):
-    title = forms.CharField()
-    # contents = forms.ModelMultipleChoiceField(Content.objects.all())
-    # owner = forms.ModelChoiceField(Author.objects.all())
-    class Meta:
-        model = Project
-        exclude = ("ldt_id", "ldt", "created_by", "changed_by", "creation_date", "modification_date", "state", "owner")   
-
-class ReindexForm(forms.Form):
-    contents = forms.ModelMultipleChoiceField(Content.objects.all())
-
-class SearchForm(forms.Form):
-    search = forms.CharField()
-    field = forms.ChoiceField([(u"all", u"all"), (u"title", u"title"), (u"abstract", u"resume"), (u"tags", u"tags")])
-
-class AddProjectForm (forms.Form):
-    title = forms.CharField()
-
-class CopyProjectForm (forms.Form):
-    title = forms.CharField()