This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PlayerFeedback_CheckForSurvey] POST | |
[PlayerFeedback_SendAnswers] POST | |
[PatchNotes_GetPatchNotes] GET | |
[AggStats_Fetch] GET | |
[AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id} | |
[Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tip: You can just define all environment variables used here in a | |
# .env file in the same directory so as not to expose secrets | |
# docker-compose will load it automatically | |
services: | |
s3fs: | |
privileged: true | |
image: efrecon/s3fs:1.86 | |
restart: always | |
environment: | |
- AWS_S3_BUCKET=${AWS_S3_BUCKET} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from rest_framework_simplejwt.token_blacklist.admin import OutstandingTokenAdmin | |
from rest_framework_simplejwt.token_blacklist.models import OutstandingToken | |
from rest_framework_simplejwt.tokens import SlidingToken, RefreshToken | |
class CustomOutstandingTokenAdmin(OutstandingTokenAdmin): | |
""" | |
Custom admin view for OutstandingToken model\n | |
allows bulk deletion, blacklisting and sliding token creation |