Re: using URLs that do not contain the primary key

2006-06-14 Thread Kenneth Gonsalves
On 14-Jun-06, at 6:15 PM, [EMAIL PROTECTED] wrote: > I want to have a URL of the form > /path/to/my/site/biographies/persons-name/ where 'persons-name' is a > slug field for a class, but not the primary key...is this possible? yes - but make sure that even if it is not the primary key it is uni

Re: using URLs that do not contain the primary key

2006-06-14 Thread [EMAIL PROTECTED]
Thanks... that was exactly what I was looking for! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe fr

Re: using URLs that do not contain the primary key

2006-06-14 Thread Matias Hermarud Fjeld
[EMAIL PROTECTED] wrote: > Fist up, apologies if I'm posting this in the wrong place and apologies > if this issues is covered somewhere else -- I searched for it but > couldn't find the answer I was looking for. > > OK, I'm new to Django but have a quick, hopefully easy-to-answer > question, >

Re: using URLs that do not contain the primary key

2006-06-14 Thread Gábor Farkas
[EMAIL PROTECTED] wrote: > Fist up, apologies if I'm posting this in the wrong place and apologies > if this issues is covered somewhere else -- I searched for it but > couldn't find the answer I was looking for. > > OK, I'm new to Django but have a quick, hopefully easy-to-answer > question, >

Re: using URLs that do not contain the primary key

2006-06-14 Thread Julio Nobrega
Yes, it is possible, either using generic views or just views. What way are you using? On 6/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I want to have a URL of the form > /path/to/my/site/biographies/persons-name/ where 'persons-name' is a > slug field for a class, but not the prim

using URLs that do not contain the primary key

2006-06-14 Thread [EMAIL PROTECTED]
Fist up, apologies if I'm posting this in the wrong place and apologies if this issues is covered somewhere else -- I searched for it but couldn't find the answer I was looking for. OK, I'm new to Django but have a quick, hopefully easy-to-answer question, I want to have a URL of the form /path