mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Most of our users are already running on Python 3.6+ and dropping 3.5 and below in a future oriented release allows us to focus on implementing more readable codebases. Fixes #417 Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
15 lines
306 B
Python
15 lines
306 B
Python
from datetime import datetime
|
|
|
|
from django.http import HttpRequest
|
|
|
|
|
|
class AxesHttpRequest(HttpRequest):
|
|
"""
|
|
Type definition for the HTTP request Axes uses.
|
|
"""
|
|
|
|
axes_attempt_time: datetime
|
|
axes_ip_address: str
|
|
axes_user_agent: str
|
|
axes_path_info: str
|
|
axes_http_accept: str
|