Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

program_page.html

Blame
  • production.py 241 B
    """
    Production settings.
    """
    
    from .base import *
    
    ALLOWED_HOSTS = env.list("ALLOWED_HOSTS")
    
    MIDDLEWARE.insert(1, "whitenoise.middleware.WhiteNoiseMiddleware")
    STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"