Update views.py
This commit is contained in:
parent
0528ecb454
commit
3a848bc037
|
@ -92,7 +92,8 @@ class GetAddClients(APIView):
|
|||
if "initialsetup" in request.data.keys():
|
||||
core = get_core_settings()
|
||||
core.default_time_zone = request.data["timezone"]
|
||||
core.save(update_fields=["default_time_zone"])
|
||||
core.mesh_company_name = request.data["companyname"]
|
||||
core.save(update_fields=["default_time_zone", "mesh_company_name"])
|
||||
|
||||
# save custom fields
|
||||
if "custom_fields" in request.data.keys():
|
||||
|
|
Loading…
Reference in New Issue