geosolutions-it / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
0 stars 5 forks source link

Hostname is too long for the field 'name' of 'django.site' table #42

Open psclcnrd opened 1 month ago

psclcnrd commented 1 month ago

During the first execution in an empty database, the django.site.name field is too small (50 chars) to accept a long hostname (62 chars in my case). I propose to add the 'SITENAME' variable into .env, and use it into task.py, function '_prepare_site_fixture', into a PR.

giohappy commented 1 month ago

hi @psclcnrd, please read below: