Yes, exactly I'm using a modelform and in my views I'm doing: def upload(request): if "doc-form" in request.POST: docform = LicenceForm(data=request.POST, files=request.FILES) if docform.is_valid(): docform.save() return render_to_response('bingo.html', locals(), context_instance=RequestContext(request) else: docform = LicenceForm() return render_to_response('upload.html', locals(), context_instance=RequestContext(request))
but it doesn't work! I also include the right header in the form template and changed the directories in settings. I really can't sense the problem.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xWMCZU-RreMJ. To post to this group, send email to django-users@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.