Hello, I was reading this discussion:

http://groups.google.com/group/django-users/browse_thread/thread/d2d9ed6599089301

There Donn asks:

"Lastly, on the decoupling thing again, if I end up using (sometime)
HttpResposeRedirect(reverse(project.app.view)) does that not tie the
view to
the app to the project?"

And Malcolm mentions:

"Yes, but you don't have to use that way of referencing things. The
safest way to do this (in terms of "it will always work not matter how
you import things, etc") is to use the url(...) form for url patterns
and use the fourth ("name") parameter to give the pattern a unique
name. "

I'm not sure if I understand Malcolm's suggestion, is he talking about
using named URL patterns as documented here?

http://docs.djangoproject.com/en/dev//topics/http/urls/#id2

Thanks for your help :)
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to