Oh, and thanks for the input on the csrf token. I just moved up to Django
1.5 and was responding to the change about the csrf token no longer being
enclosed in a , I thought that might have something to do with the
problem.
On Thursday, April 4, 2013 5:38:58 PM UTC-4, John wrote:
>
> This is D
Ah, stupid me. I just realized that the submit is being caught and handled
using a JQuery .post() so the data isn't actually sent as
multipart/form-data. I guess I need to do a bit more work in the submit
code to make it responsive to the enctype. Can anyone tell me if this just
won't work?
On Thursday, 4 April 2013 22:38:58 UTC+1, John wrote:
> I am sure that there must be a problem with the html but this is driving
> me crazy. Probably some stupid typo.
>
> When I set a breakpoint following the if request.POST the request.FILES is
> an empty dictionary.
>
>
How would you know if
Hi John
{% csrf_token %} must be definitely inside the tag. It renders .
Please try it and tell if it works.
Cheers,
Tom
Dne Thu, 4 Apr 2013 14:38:58 -0700 (PDT)
John napsal(a):
> This is Django 1.5
> Python 2.7.3
> MYSQL Database
>
> Here is the model that I am using:
>
> class Supporti
4 matches
Mail list logo