Move allowed_host to config
This commit is contained in:
parent
2365c7d907
commit
c3ee60d249
|
@ -14,6 +14,7 @@ import os
|
|||
import re
|
||||
|
||||
from .conf import (
|
||||
ALLOWED_HOSTS,
|
||||
DEBUG,
|
||||
DEFAULT_DB,
|
||||
SECRET_KEY,
|
||||
|
@ -35,7 +36,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, "media/")
|
|||
MEDIA_URL = "media/"
|
||||
|
||||
|
||||
ALLOWED_HOSTS = ["mauflix.cuates.net", "cuates.net"]
|
||||
if DEBUG:
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue