You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
572 B

  1. from .base import * # noqa: F403
  2. MIDDLEWARE.append("api.middleware.RangesMiddleware") # noqa: F405
  3. CORS_ORIGIN_WHITELIST = ("http://127.0.0.1:3000", "http://0.0.0.0:3000", "http://localhost:3000")
  4. CSRF_TRUSTED_ORIGINS = CORS_ORIGIN_WHITELIST
  5. # LOGGING = {
  6. # 'version': 1,
  7. # 'handlers': {
  8. # 'console': {
  9. # 'level': 'DEBUG',
  10. # 'class': 'logging.StreamHandler',
  11. # }
  12. # },
  13. # 'loggers': {
  14. # 'django.db.backends': {
  15. # 'level': 'DEBUG',
  16. # 'handlers': ['console'],
  17. # },
  18. # }
  19. # }