Re: Session errors with mod_wsgi

2010-02-13 Thread DavidMck
the built in dev server... David On Feb 14, 12:50 pm, DavidMck <d...@vidmck.com> wrote: > Hmm: > > My relevant codes seems to be: > > @login_required > def upload(request): >     if request.method == "POST": >         form = ExcelUploadForm(request.POST, r

Re: Session errors with mod_wsgi

2010-02-13 Thread DavidMck
Hmm: My relevant codes seems to be: @login_required def upload(request): if request.method == "POST": form = ExcelUploadForm(request.POST, request.FILES) if form.is_valid(): request.session['sheet'] = form.cleaned_data["excelfile"] If I put something boring into

Session errors with mod_wsgi

2010-02-13 Thread DavidMck
Alo! Written an app, works fine on dev server, gives a 500 Internal Server Error with apache + mod_wsgi. It's a form to upload an excel file - the file is uploaded, verified (using xlrd) and then one of the excel sheets is saved as session data. Redirect to a "view" page which retrieves the