This is a quick write-up on how to configure Pretix (based on the Small-scale manual deployment documentation by Pretix) to use S3 (or another supported django-storages backend) to speed up page hits.
The process of this and additional steps to undertake are underlined in Pretix' scaling guide.
I wrote this to make it easier for myself and you to do this again ;)
- Create a new directory in /var/pretix, i.e. settings, include this directory in your PYTHONPATH.
- Add a custom settings.py by overwriting
DJANGO_SETTINGS_MODULE
as outlined in the scaling guide