We all make mistakes, don't worry :)
Best regards,
Marcin
On 00:02 Fri 07 Jun , Federico Erbea wrote:
> I'm really stupid, why i never think to the easiest way, never...I wrong
> "{% for film in attore.film_set.all %}" because i had write "{% for film in
> film_attore %}"...Sorry...;)
>
>
I'm really stupid, why i never think to the easiest way, never...I wrong
"{% for film in attore.film_set.all %}" because i had write "{% for film in
film_attore %}"...Sorry...;)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
I'm new in python and django, so i'm sorry for the stupid question...:)
This is in views.py
def attore(request, id):
attore = get_object_or_404( Attore, pk=id )
# return render_to_response('Attore.html', { 'film': Film.objects.filter(
attori=attore ), 'attore': attore })
3 matches
Mail list logo