Let's say I have a pet table: TABLE: Pet id name type ------------------------------ 1 Pluto dog 2 Foo cat 3 Goo fish
I can access the pet page of each of the above by the following url: Pluto: localhost/pets/1/ Foo: localhost/pets/2/ Goo: localhost/pets/3/ I want the url for the pet page to look like the following: Pluto: localhost/pets/pluto-dog/ Foo: localhost/pets/foo-cat/ Goo: localhost/pets/goo-fish/ In a PHP web application that I have been working on before, there is an additional field in the Pet table which holds the url for each pet. Is that how it should be done in Django too? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---