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
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
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?
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
4 matches
Mail list logo