I like the URLs at the model. Think in terms of URI (Uniform
Resource Identifiers). The .get_absolute_url() tells how the model can
be found. It's part of the "rules that give access" to data.

On 3/27/06, Glenn Tenney <[EMAIL PROTECTED]> wrote:
> Models are, in part, an abstraction of the data... the
> scheme... etc.  Models should have nothing to do with the URL for an
> object!

--
Julio Nobrega - http://www.inerciasensorial.com.br

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

Reply via email to