Re: file uploading problem
hi, The problem was solved... by adding a few lines as follows... -- if request.POST: new_data = request.POST.copy() new_data.update(request.FILES) # This has to be added errors = manipulator.get_valida
file uploading problem
hi all, we are newbies to django.trying to write a small file uploading program using django... But we stuck up with the 'upload_to' option in the 'FileField'... In our settings.py file MEDIA_ROOT='' & MEDIA_URL='' and in the FileField(upload_to='/home/')... but after uploading the file