File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,10 @@ python manage.py collectstatic --noinput -l
1010
1111# Add server name(s) to django settings and nginx - later maybe only nginx would be enough, and ALLOWED_HOSTS could be "*"
1212NGINX_API_FQDN=$( echo $API_FQDN | sed ' s|https://||' )
13+ sed -i ' s!\$NGINX_SERVER_NAME!' $NGINX_API_FQDN ' !g' /etc/nginx/sites-available/nginx.conf
1314if [ " $GO_ENVIRONMENT " x = productionx ]; then
14- sed -i ' s/\$NGINX_SERVER_NAME/' $NGINX_API_FQDN ' api.go.ifrc.org/g' /etc/nginx/sites-available/nginx.conf
1515 sed -i ' s/CHANGE_ME_BEFORE_START/prod/' /etc/nginx/sites-available/nginx.conf
1616else
17- sed -i ' s/\$NGINX_SERVER_NAME/' $NGINX_API_FQDN ' /g' /etc/nginx/sites-available/nginx.conf
1817 sed -i ' s/CHANGE_ME_BEFORE_START/' $GO_ENVIRONMENT ' /' /etc/nginx/sites-available/nginx.conf
1918fi
2019
Original file line number Diff line number Diff line change @@ -608,6 +608,7 @@ class Meta:
608608 fields = (
609609 "id" ,
610610 "assessment_number" ,
611+ "date_of_orientation" ,
611612 "date_of_assessment" ,
612613 "country" ,
613614 "country_details" ,
@@ -658,6 +659,7 @@ class Meta:
658659 fields = (
659660 "id" ,
660661 "assessment_number" ,
662+ "date_of_orientation" ,
661663 "date_of_assessment" ,
662664 "country" ,
663665 "country_details" ,
You can’t perform that action at this time.
0 commit comments