On May 19, 5:41 pm, Jonathan Baker <[email protected]>
wrote:

Just a note about best practises:

>
> # views.py

(snip)

>             return HttpResponseRedirect("/report/all/")

Better to use named urls and django.core.urlresolvers.reverse, this
avoids quite a lot of pain and trouble when you have to change your
urls schemes.

My 2 cents...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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