Sfoglia il codice sorgente

Allow all hosts to simplify cross-browser testing (#268)

Thibaud Colas 5 anni fa
parent
commit
2ec4475f75
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      bakerydemo/settings/dev.py

+ 2 - 0
bakerydemo/settings/dev.py

@@ -6,3 +6,5 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
 # BASE_URL required for notification emails
 BASE_URL = 'http://localhost:8000'
+
+ALLOWED_HOSTS = '*'