Block a user
6efa14d921
nginx: fix HTTPS upstream by adding port (server always needs a port unless it's 80)
bbd566226b
nginx: set variables_hash_bucket_size,variables_hash_max_size to silence the warning
f74b3a5249
Playbooks: replace staging inventory
30b831d454
Playbooks,README: enable ToC
60198400ce
Minor changes to README
dde05bbbff
Playbooks: replace staging inventory
2dcba81a51
Create requirements_prod.txt: shared playbooks expect it to exist
d5518973c2
.env: make extra_env optional (can be undefined)
5298ae0713
.env: include environment in From: unless production
Anna Sirota
pushed tag 20240802-133232 to infrastructure/conference-website
2024-08-02 15:32:36 +02:00
User session tracking
getting the pk
(pk = kwargs['pk']
: it's fine to expect it to be present at this point) and filtering the session on the separate line would make this more readable.
User session tracking
might be better to make this a background task instead of wrapping into except.