Question

On the official django site, for version 1.6, under 'design philosophy' , it says pretty URLs should be easier to make than ugly ones. But when I search the site, I can't find any other use of the word 'pretty'. So how, or where, is the step by step guide for newbies like me to make pretty URLs? I also think the official documentation on slugs is pretty sparse. Are slugs the same as pretty URLs in django? I've seen some answers on Stack Overflow that give bits and pieces to some of my questions, but what I'd really like is a thorough discussion of this topic. Can anyone point me to something like that? Thx.

No correct solution

OTHER TIPS

I don't think there is a definition of "pretty" as it relates to URLs anywhere. However, what the designers probably meant was readable ones like mysite.com/category/item/ rather than obscure id params such as mysite.com/shop?item_id=45754dghrs3467.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top