Saturday, June 3, 2017

Re: Django URL dispacher

I must admin my second example is not that valid.

Because i would actually do it like this:
1. on /about-us route - display about us page
2. on /news/ route - display news list page - list pages would finish with the slash - so i would not have that problem. But lets say there is not slash on news route.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/70cf4018-04a9-47aa-83ed-e63a8f81d6c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment