Re: Configurable get_absolute_url for User model.

2007-10-19 Thread Jeremy Dunck
On 10/19/07, James Bennett <[EMAIL PROTECTED]> wrote: > At some point I'd like to see the get_absolute_url() method on the > User model rewritten to use the permalink() decorator, which would do > away with the need to override on a per-install basis. I'm not sure > exactly how that'd work, though

Re: Configurable get_absolute_url for User model.

2007-10-19 Thread James Bennett
On 10/19/07, wnielson <[EMAIL PROTECTED]> wrote: > I must have passed over that one a hundred times without seeing it > once... At some point I'd like to see the get_absolute_url() method on the User model rewritten to use the permalink() decorator, which would do away with the need to override o

Re: Configurable get_absolute_url for User model.

2007-10-19 Thread wnielson
*sigh* I must have passed over that one a hundred times without seeing it once... On Oct 19, 2:12 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 10/19/07, wnielson <[EMAIL PROTECTED]> wrote: > > > I needed the ability to set a custom url for the User model, so I > > modified the User model'

Re: Configurable get_absolute_url for User model.

2007-10-19 Thread James Bennett
On 10/19/07, wnielson <[EMAIL PROTECTED]> wrote: > I needed the ability to set a custom url for the User model, so I > modified the User model's `get_absolute_url` to allow endusers to > define an attribute, `AUTH_USER_URL`, in their settings file. `/users/ > /` is still the default, but can simp

Configurable get_absolute_url for User model.

2007-10-19 Thread wnielson
I needed the ability to set a custom url for the User model, so I modified the User model's `get_absolute_url` to allow endusers to define an attribute, `AUTH_USER_URL`, in their settings file. `/users/ /` is still the default, but can simply be overwritten. I filed a ticked [1] and added a patc