On 25-Mar-09, at 5:45 PM, Oli Warner wrote: > if request.method == 'POST': > f = AdminEditForm(request.POST.copy(), instance = company) > if f.is_valid():
Contents of file input fields/objects are stored within request.FILES dict in Django. You need to add request.FILES as an additional positional argument to the form constructor. -- Ayaz Ahmed Khan An evil mind is a great comfort. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. 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 -~----------~----~----~----~------~----~------~--~---