Re: Replacing get_absolute_url, I am against it

2009-09-14 Thread Patrick J McNerthney
> > If the objective is to seperate the two systems why is having the URL > system know about Models more acceptable than having the Model system > know about URLs? This is most certainly a bike shed IMO. > The objective is not to completely separate the two. URLs are roughly the "Controller

Re: Replacing get_absolute_url, I am against it

2009-09-14 Thread Patrick J McNerthney
We are not (at least not now), endless discussing the color to paint the bike shed, we are discussing the fact that the bike shed is being built in entirely the wrong location. IMO, the proper place to build this particular bike shed is in the urlresolvers section of the city, not in the mode

Re: Replacing get_absolute_url, I am against it

2009-09-14 Thread Patrick J McNerthney
Yuri, I am with you. I am new to Django and am deep in the middle of my first major project using Django. When I encountered get_absolute_url, my reaction was, "What were they thinking!". Why does the model have any knowledge about it's presentation? What if that very same model object is