On 7/23/06, Martin <[EMAIL PROTECTED]> wrote: > I was wondering if somebody can tell me why properties are not more > widely used in django. I encountered several `attribute` style > functions (like get_profile, get_<attr>_url) where using properties and > removeing the `get_` from the name would make more sense (at least for > me). > > Any particula reason for this?
Hey Martin, That's purely for legacy reasons. In the cases of get_profile() and get_absolute_url(), that's the way it's always been. Indeed, I'd like to change the get_absolute_url() convention at the very least, to something like url(), but that's a low priority at the moment. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---