mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-07 10:58:25 +02:00
15 lines
328 B
Python
15 lines
328 B
Python
"""
|
|
Stuff in here is only used for type hints
|
|
"""
|
|
|
|
from django import http
|
|
from django.contrib.auth.models import AnonymousUser
|
|
|
|
from bookmarks.models import GlobalSettings, UserProfile, User
|
|
|
|
|
|
class HttpRequest(http.HttpRequest):
|
|
global_settings: GlobalSettings
|
|
user_profile: UserProfile
|
|
user: User | AnonymousUser
|