diff --git a/g3w-admin/qdjango/views/projects.py b/g3w-admin/qdjango/views/projects.py index e5b2b6a85..743c881da 100644 --- a/g3w-admin/qdjango/views/projects.py +++ b/g3w-admin/qdjango/views/projects.py @@ -125,7 +125,8 @@ def get_initial(self): initial = super().get_initial() # Get intial for geocoding_providers - initial['geocoding_providers'] = json.loads(self.object.geocoding_providers) + if self.object.geocoding_providers: + initial['geocoding_providers'] = json.loads(self.object.geocoding_providers) return initial