Files @ 3ffa5fab60de
Branch filter:

Location: symposion_app/pinaxcon/wsgi.py

James Polley
Don't require login to view qrcode

* The qrcode contains no information that isn't in the URL you used to
access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
mail client

Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
import os

os.environ.setdefault("DEBUG", "0")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pinaxcon.settings")

from django.core.wsgi import get_wsgi_application  # noqa

from dj_static import Cling, MediaCling  # noqa

application = Cling(MediaCling(get_wsgi_application()))