Hi Russ,
>
> > - The last_login field is in the AbstractBaseUser, but it isn't
> > documented as a required field. Is this field required for something?
> > Is it needed as part of AbstractBaseUser?
>
> Yes, last_login is required - it's needed in order to generate
> password reset tokens
.
So thanks you took the time to think abt it. Nice job anyway!
best regards
ludwig
Am Sonntag, 28. Oktober 2012 02:05:47 UTC+2 schrieb Russell Keith-Magee:
>
>
> On Sat, Oct 27, 2012 at 7:25 PM, Ludwig Kraatz
>
> > wrote:
>
>> Hi Russ,
>>
>>
>>&
If you ask me this just points out to some point i mentioned in the
original Custom UserModel Thread. I'm trying to reframe it again.
I think the current django.contrib.auth *app* somehow behaves like some
mixture of
django.core._mixins_everyone_should_use_to_make_apps_interoperability and
cont
Hi,
is there a specific reason why the RedirectView does not have a "view_name"
attribute and out-of-the-box supporting to reverse it?
if self.url:
url = self.url
elif self.view_name:
url = reverse(self.view_name, kwargs=kwargs, request=request)
else:
return None
best rega
Well, ... I know about reverse_lazy
Sorry for not explaining myself good enough:
reverse_lazy can't do:
url( 'bar/foo/(?P[0-9]*)/', *RedirectView*( url=
*reverse_lazy*('foo_stuff')
),
url( 'foo/(?P[0-9]*)/', some_view_func, name = 'foo_stuff' ),
What a RedirectView supporting URL Names (..