> -----Original Message-----
> From: django-users@googlegroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Dhawan
> Sent: 20 June 2008 19:06
> To: Django users
> Subject: Re: Url tag issues
> 
> 
> Hi Emily,
> 
> 
> <snip>
> > > >
> > > > The problems I am hitting are mainly to do with the {% url 
> > > > app.views.function keyword=optval %} tags to generate urls
> > > for my link bar.
> 
> 
> Firstly, as phillc suggests, it's a good idea to first name 
> your index page so it's easier to reference it in your url tags.
> 
> > > >
> > > > The combinations or parameters I want to use are:
> > > >
> > > > id
> > > > id + filter
> > > > filter
> > > > and sort_by (alone, or with any of the above combinations)
> 
> Since you need that kind of flexibility in which parameters 
> and combinations you can have, consider using query string 
> parameters instead of url path parameters.

This is what I would normally have done, but I got the impression that
this kinda went again what django is about, so I was trying to do it in
a more djangoesque way!! Perhaps I will just do it how I would have
before!!

Thanks for pointing out the obvious (that I had been stupidly
disregarding) to me :)

Em

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to