my code is
HTML:
* *
**
**
* {% block title %}{% endblock %}*
* *
* *
* {% block content %}{% endblock %}*
* *
* {% csrf_token %}*
* *
* Submit*
* *
**
*
*
Views:
*def upload(request, id):*
*
*
*if request.method == 'POST':*
**
*my_painting = Movie.objects.get(id=id)*
On Tuesday, 9 July 2013 14:16:59 UTC+1, Hélio Miranda wrote:
> ah yes, it was me who got sick. But the code is correct
>
You really need to post your actual code. There are at least two other
errors there ( *.get = (id = id) *and * **request.FILES.getlist*) which
mean your code would not run. S
ah yes, it was me who got sick. But the code is correct
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to thi
You have
*Csrf_token% {%}
*
shouldn't it be
*{% csrf_token %}*
???
Regards,
Nigel Legg
07914 740972
http://www.treavnianlegg.co.uk
http://twitter.com/nigellegg
http://uk.linkedin.com/in/nigellegg
On 9 July 2013 13:10, Hélio Miranda wrote:
> Good!
> I'm having a strange problem, which is
Good!
I'm having a strange problem, which is this, I have uploaded all ok and
working.
HTML:
* *
**
* *
*{% block title%} {% endblock%} *
* *
* *
*{% Block content%} {% endblock%}*
* *
* Csrf_token% {%}*
**
* Submit *
* *
**
Views:
*def upload (request, id):*
*
*
* if reque
5 matches
Mail list logo