[GeoNode-users] How to make ALLOWED_HOSTS setting work?

Simone Dalmasso simone.dalmasso at gmail.com
Tue Jun 16 23:10:40 PDT 2015


Melvin, the ALLOWED_HOSTS should be an array instead of a tuple, try
ALLOWED_HOSTS
= ['localhost:8000', 'localhost:8040']. For the settings you can create the
local_settings.py, they will be used by geonode,

2015-06-16 22:08 GMT+02:00 Melvin Ramos <melvin.ramos1991 at gmail.com>:

> Good day GeoNode community,
>
> I'm in need of allowing another host to my GeoNode project. I'm running
> two systems at the same time (both Django). GeoNode runs in localhost:8000
> and the other project runs in localhost:8040. There was no problem setting
> the ALLOWED_HOSTS property in the other proyect, but GeoNode is giving me a
> hard time.
>
> Since I already searched, it seems that it's useful to know that I
> installed GeoNode using the GitHub repository, so I don't have any
> local_settings.py working (it only comes with the sample). So I tried
> adding ALLOWED_HOSTS = ('localhost:8000', 'localhost:8040') to my
> settings.py in GeoNode and nothing.
>
> Thanks in advance,
>
> Melvin
>
> --
> Melvin David Ramos Macías
> 07-41408
> Ingeniería de Computación
> Universidad Simón Bolívar
>
>
>
> Enviado con MailTrack
> <https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150617/e624728f/attachment.html>


More information about the geonode-users mailing list