prod.py 265 B

123456789
  1. import os,sys
  2. from datetime import timedelta
  3. CSRF_TRUSTED_ORIGINS = ["http://188.72.209.29"]
  4. ALLOWED_HOSTS = ["http://188.72.209.29","http://127.0.0.1","http://127.0.0.1:8000","http://188.72.209.29:8000","http://localhost:8000"]
  5. SECURE_HSTS_SECONDS = 2_592_000