Releases
5.2.0
Compare
Sorry, something went wrong.
No results found
Added
User login/logout features!
reactpy_django.hooks.use_auth to provide persistent login and logout functionality to your components.
settings.py:REACTPY_AUTH_TOKEN_MAX_AGE to control the maximum seconds before ReactPy's login token expires.
settings.py:REACTPY_CLEAN_AUTH_TOKENS to control whether ReactPy should clean up expired authentication tokens during automatic cleanups.
Automatically convert Django forms to ReactPy forms via the new reactpy_django.components.django_form component!
The ReactPy component tree can now be forcibly re-rendered via the new reactpy_django.hooks.use_rerender hook.
Changed
Refactoring of internal code to improve maintainability. No changes to publicly documented API.
Fixed
Fixed bug where pre-rendered components could generate a SynchronousOnlyOperation exception if they access a freshly logged out Django user object.
You can’t perform that action at this time.