seems like you're over thinking... you want a single url to handle
multiple pieces of information?
you can assign a single view function to a url. but you can define
multiple functions within that view and merely pass them through to
the template as part of the response.
Or take a look at templat
On Oct 17, 6:16 pm, John Yeukhon Wong wrote:
> I asked this somewhere else but it seems like the responder hasn't
> reply the latest comment I
> made.http://stackoverflow.com/questions/3951758/how-do-you-iterate-over-a-...
>
> Nevertheless, I think I should be welcome to make one here.
>
> Let's
I asked this somewhere else but it seems like the responder hasn't
reply the latest comment I made.
http://stackoverflow.com/questions/3951758/how-do-you-iterate-over-a-...
Nevertheless, I think I should be welcome to make one here.
Let's keep thing short.
Say I have a very simple list to iterat
I think for the link view function, I need to do something like this
instead. Sorry.
[--code--]
def link(request):
c = Context()
c['title'] = ['Home Page', 'Current Time', '10 hours later']
return render_to_response('time.html', c)
[--code--]
On Oct 17, 1:06 pm, John Yeukhon Wong wr
I asked this somewhere else but it seems like the responder hasn't
reply the latest comment I made.
http://stackoverflow.com/questions/3951758/how-do-you-iterate-over-a-list-in-django/3951775#3951775
Nevertheless, I think I should be welcome to make one here.
Let's keep thing short.
Say I have a
5 matches
Mail list logo