Hi,
I need a comment by Django developer, because I feel like things I am
asking about are too complex for users mailing list. Start of discussion is
here.
https://groups.google.com/forum/#!topic/django-users/_u83xxJOIFU
*TL/DR*
Is it impossible to get reverse relation to dynamically added m
All right, that's exactly what I'm talking about.
You wrote more than 50 lines of python code, reimplemented standard
inextensible features, just to call one function. And changing password is
simple task actually, reseting password needs to deal with tokens, emails,
etc. So it will be a few Mu
Thanks a lot.
To make it clear, do I understand right that you have some custom view to
process APIPasswordChangeForm and not using
django.contrib.auth.views.password_change?
On Sunday, December 14, 2014 2:17:16 PM UTC+4, Josh Smeaton wrote:
>
> https://gist.github.com/jarshwah/c5b9abebb452f2e3
Great!
I would like to take a look at any source code you can share.
On Sunday, December 14, 2014 10:10:58 AM UTC+4, Josh Smeaton wrote:
>
> I've been maintaining a custom django backend for quite awhile now. It
> delegates authentication and authorization to an internal API. I do not use
> a c
d behavior. The only
> scenario that I can think of where your implementation would get a bit more
> complicated is if you wanted to support multiple active sessions using
> different authentication backends for the same user object.
>
> Regards,
> Michael Manfre
>
>
s work based on which backend you authenticated with is too much
> complexity. This scheme feels very brittle and I'm not sure that making
> this change in Django offers much benefit (in reduced code, for example) in
> the end.
>
> On Thursday, December 11, 2014 2:05:22 PM UTC-5,
w will you know which backend to delegate to?
>
> How do existing LDAP backends deal with this problem? (or do they just
> ignore it?)
>
> On Thursday, December 11, 2014 4:40:09 AM UTC-5, Roman Akopov wrote:
>>
>> Hello,
>>
>> This is my fist post, so I'm no
ng authenticate(). On
> subsequent requests, or in non-request situations like the Python shell,
> how will you know which backend to delegate to?
>
> How do existing LDAP backends deal with this problem? (or do they just
> ignore it?)
>
> On Thursday, December 11, 2014 4:40:09
Hello,
This is my fist post, so I'm not fully aware of any posting policies you
have, but at least I'll try to present my ideas in clear way.
*Very brief description of what I suggest:*
Optionally delegate password change and password reset to authentication
backend.
*Motivation:*
Django