On Thu, Aug 21, 2008 at 1:50 AM, Rodney Topor <[EMAIL PROTECTED]> wrote:
> Second: Doesn't the use of get_absolute_url() somehow violate the
> separation of URLs from models?

I think so.

I have found named urls 
http://www.djangoproject.com/documentation/url_dispatch/#naming-url-patterns 
  url tag in 
templateshttp://www.djangoproject.com/documentation/templates/#url and 
reverse() in views/models/other to be excellent solution and the best 
way to handle this.

Define your urls once in one place, your urls.py file.  Change them and 
magically everything else just works.

-- 
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___________________________________________________________________________
It's August!  Keep your cool with the Statesman.  Check out our hot
deals in print and online for back-to-school savings and more!

--~--~---------~--~----~------------~-------~--~----~
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