On Oct 21, 2006, at 1:47 PM, Ed wrote: > > Hello, currently url patterns are hard coded into urls.py, in the > templates, and in some cases the views which return redirects. This is > becoming a dangerous practice in our application development. If one > url needs to be changed due to an update in the application design, it > would break many pages/views. > > Is there a contrib module or do I need to roll my own URL helper class > that allows my developers to do something like the following in > urls.py:
In this thread from 6 months ago, Adrian hacked up some code that would allow you to dynamically generate a URL that points to a view using a template tag, see this thread for more info: http://groups.google.com/group/django-developers/browse_thread/thread/ a5d12bc4fb073f24/83d7e4cb5f35ed08 There are other threads on this subject in both the dev and user groups as well. Don --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---