Re: user.get_absolute_url()

2008-01-28 Thread Thomas
Artiom, James - many thanks, I thought I was familiar with docs, but yet again ... Many thanks! Thomas On Jan 28, 2:11 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Jan 28, 2008 6:49 AM, Artiom Diomin <[EMAIL PROTECTED]> wrote: > > > For example in Middleware, in process_request. You could

Re: user.get_absolute_url()

2008-01-28 Thread James Bennett
On Jan 28, 2008 6:49 AM, Artiom Diomin <[EMAIL PROTECTED]> wrote: > For example in Middleware, in process_request. You could "monkeypatch" > User on the fly. Or he could use the standard, documented method for overriding a model's get_absolute_url() method: http://www.djangoproject.com/documenta

Re: user.get_absolute_url()

2008-01-28 Thread Artiom Diomin
For example in Middleware, in process_request. You could "monkeypatch" User on the fly. Thomas пишет: > What is the best way to override user.get_absolute_url with custom > code (the django.contrib.auth.models.User method) ? Where should it be > put?

user.get_absolute_url()

2008-01-28 Thread Thomas
What is the best way to override user.get_absolute_url with custom code (the django.contrib.auth.models.User method) ? Where should it be put? Thanks, Thomas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D