Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_logged_in instead of update_last_login #752

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Sep 14, 2023

  1. Configuration menu
    Copy the full SHA
    fbb9602 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee2410e View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Update serializers.py

    Fixed compatibility with `django-axes` error.
    
    ```
    TypeError: AxesProxyHandler.user_logged_in() missing 1 required positional argument: 'request'
    ```
    
    According to `django-axes`:
    ```
    Authenticating users¶
    Axes needs a request attribute to be supplied to the stock Django authenticate method in the django.contrib.auth module in order to function correctly.
    ```
    https://django-axes.readthedocs.io/en/latest/3_usage.html
    Ou7law007 authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    8ed0c8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    19d8936 View commit details
    Browse the repository at this point in the history
  3. Update serializers.py

    self.__class__ is more accurate.
    Ou7law007 authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    baf076d View commit details
    Browse the repository at this point in the history