local.py 927 B

123456789101112131415161718192021222324252627282930313233
  1. from .common import *
  2. MEDIA_URL = "http://example.com/media/"
  3. STATIC_URL = "http://example.com/static/"
  4. ADMIN_MEDIA_PREFIX = "http://example.com/static/admin/"
  5. SITES["front"]["scheme"] = "http"
  6. SITES["front"]["domain"] = "example.com"
  7. SECRET_KEY = "theveryultratopsecretkey"
  8. DEBUG = False
  9. TEMPLATE_DEBUG = False
  10. PUBLIC_REGISTER_ENABLED = True
  11. DEFAULT_FROM_EMAIL = "no-reply@example.com"
  12. SERVER_EMAIL = DEFAULT_FROM_EMAIL
  13. # Uncomment and populate with proper connection parameters
  14. # for enable email sending. EMAIL_HOST_USER should end by @domain.tld
  15. #EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
  16. #EMAIL_USE_TLS = False
  17. #EMAIL_HOST = "localhost"
  18. #EMAIL_HOST_USER = ""
  19. #EMAIL_HOST_PASSWORD = ""
  20. #EMAIL_PORT = 25
  21. # Uncomment and populate with proper connection parameters
  22. # for enable github login/singin.
  23. #GITHUB_API_CLIENT_ID = "yourgithubclientid"
  24. #GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"