I think it is the first solution that you have proposed, but I can't figure
out how to use it. Also, is there a way to make sure that the ID is
automatically taken? With a proper publisher for loop I would like all the
lists of movies for each actor.
This is my urls.py
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^Film$', 'Database.views.film'),
)
and this is my views.py
from django.shortcuts import render_to_response
from django.template import RequestContext
from models import *
def film(request):
film = Film.objects.all()
return render_to_response('Film.html', { 'film': film, 'regista':
regista, })
Thanks for the help.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.