Open ndethi opened 1 year ago
you must inherit the geonode.settings
somewhere otherwise some variables won't be defined
@afabiani True, I've had to define variables in settings.py
e.g SITE_URL
, TEMPLATES
, LOCALE_PATHS
So how do I inherit geocode.settings
?
it all depends on how you write the settings
file you are currently using.
In your case
try:
from project_geonode.local_settings import *
# from geonode.local_settings import *
except ImportError:
from project_geonode.settings import *
you must include on both the project_geonode
settings.py
and local_settings.py
the follwing line:
from geonode.settings import *
Trying to set up geonode on Docker. Django container is stuck on perpetual restart loop and returns below errors when I examine the logs using
docker-compose logs -f django
Here is the
/usr/src/project_geonode/project_geonode/settings.py
file:Here is my
docker-compose.yml
: