start new:
tmux
start new with session name:
tmux new -s myname
| 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 |
| # 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} |
| [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 |