3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-26 06:32:27 +00:00

Fix getconfig

This commit is contained in:
Yoann Pétri 2019-04-28 18:35:48 +02:00
parent e79c42fab4
commit 6c12b716cf

View file

@ -182,6 +182,7 @@ def get_config(request):
del gp_dict["statutes"] del gp_dict["statutes"]
del gp_dict["rules"] del gp_dict["rules"]
del gp_dict["menu"] del gp_dict["menu"]
del gp_dict["alcohol_charter"]
data = json.dumps(gp_dict) data = json.dumps(gp_dict)
return HttpResponse(data, content_type='application/json') return HttpResponse(data, content_type='application/json')