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 the session (like a string, instead of
the form.cleaned_data item), the problem goes away. If I leave that
last line as it is, it comes back...

David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to