Thanks for that insight. It's always good to reinforce best practices for 
newcomers like myself.

On Monday, May 21, 2012 7:47:33 AM UTC-4, bruno desthuilliers wrote:
>
> On May 19, 5:41 pm, Jonathan Baker <jonathandavidba...@gmail.com> 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/cVBo6dUQIlkJ.
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.

Reply via email to