mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-10 16:44:45 +00:00
Add public API documentation on the handler class
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
7d9265cd3c
commit
8df219e976
1 changed files with 11 additions and 0 deletions
|
|
@ -13,6 +13,17 @@ class AxesBaseHandler: # pylint: disable=unused-argument
|
|||
"""
|
||||
Handler API definition for subclassing handlers that can be used with the AxesProxyHandler.
|
||||
|
||||
Public API methods for this class are:
|
||||
|
||||
- is_allowed
|
||||
- user_login_failed
|
||||
- user_logged_in
|
||||
- user_logged_out
|
||||
- post_save_access_attempt
|
||||
- post_delete_access_attempt
|
||||
|
||||
Other API methods are considered internal and do not have fixed signatures.
|
||||
|
||||
If you wish to implement your own handler class just override the methods you wish to specialize
|
||||
and define the class to be used with ``settings.AXES_HANDLER = 'dotted.full.path.to.YourClass'``.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue