Changes between Initial Version and Version 1 of Ticket #32349, comment 8


Ignore:
Timestamp:
Jan 14, 2021, 11:38:33 AM (4 years ago)
Author:
James Miller

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32349, comment 8

    initial v1  
    1616I can monkeypatch the django code, to include the namespace in the call to reverse_lazy in django.contrib.auth.views, but I would prefer to see some sort of code that tries a url against the different namespaces, either in the reverse function or in the form_valid method.   The form_valid method would require editing the super_class, and there is no need to edit the reverse function if it is working, so it would probably be better to amend the auth password views mentioned above, so that they set the success_url dynamically based upon available namespaces.
    1717
    18 something like :
    19 
     18something like (in the two auth views django.contrib.auth.views.PasswordResetConfirmView and django.contrib.auth.views.PasswordResetView):
    2019
    2120   psuedo-code::::
Back to Top