Closed clementiiineee closed 7 months ago
if response.status_code == 200: data_ref_ll = response.json() with open('data_ll.json', 'w', encoding='utf-8') as f: dump(data_ref_ll, f, ensure_ascii=False, indent=4) else: data_ref_ll = None
dans le bouton update data
In palangre-syc use allData saved in media/data instead of data_ll and data_common
if response.status_code == 200: data_ref_ll = response.json() with open('data_ll.json', 'w', encoding='utf-8') as f: dump(data_ref_ll, f, ensure_ascii=False, indent=4) else: data_ref_ll = None
dans le bouton update data