2025-02-02 14:41:11 +01:00
|
|
|
"""Collection of types for the project."""
|
|
|
|
|
|
|
|
from django.contrib.auth.models import User
|
|
|
|
from django.http import HttpRequest
|
|
|
|
|
|
|
|
|
|
|
|
class AuthenticatedHttpRequest(HttpRequest):
|
|
|
|
"""HttpRequest with an authenticated user."""
|
|
|
|
|
2025-03-03 18:20:28 +00:00
|
|
|
# XXX(reynir): Should this be Member instead?!
|
2025-02-02 14:41:11 +01:00
|
|
|
user: User
|