Adds CORS setting

sync
Laurent 11 months ago
parent f30ad9a1af
commit 38b54c9317
  1. 3
      padelclub_backend/settings_app.py

@ -1,3 +1,6 @@
CORS_ALLOW_ALL_ORIGINS = True
# Rest Framework configuration # Rest Framework configuration
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DATETIME_FORMAT': "%Y-%m-%dT%H:%M:%S%z", 'DATETIME_FORMAT': "%Y-%m-%dT%H:%M:%S%z",

Loading…
Cancel
Save