--- a/upload/views.py Wed Sep 02 17:19:11 2009 +0530
+++ b/upload/views.py Wed Sep 02 19:34:48 2009 +0530
@@ -3,6 +3,7 @@
from django.template import Context, Template
from django.shortcuts import render_to_response
from form import FileForm, Uploaded_fileForm
+from forms import ParticipantForm
import tarfile
#function to read the upoaded file and store it
@@ -26,7 +27,7 @@
#display a page with textbox and all the content of file
return render_to_response(template_name,
context_instance = c)
- c = Context({'form': FileForm(),
+ c = Context({'form': ParticipantForm(),
'value': True,
})
return render_to_response(template_name,