Bladeren bron

mise à jour pour localités réelles

master
Lapin-Blanc 3 jaren geleden
bovenliggende
commit
222e5fedb2
2 gewijzigde bestanden met toevoegingen van 2832 en 3 verwijderingen
  1. +6
    -3
      formulaire.py
  2. +2826
    -0
      liste-des-codes-postaux-belges-fr.csv

+ 6
- 3
formulaire.py Bestand weergeven

@@ -9,9 +9,12 @@ cursor = db.cursor()

cursor.execute("""PRAGMA foreign_keys=ON;""")
cursor.execute("""CREATE TABLE IF NOT EXISTS localites(
ID_Localite INTEGER PRIMARY KEY AUTOINCREMENT,
zipcode TEXT,
localite TEXT);
ID_Localite INTEGER PRIMARY KEY,
"zipcode" TEXT,
"localite" TEXT,
"sous-commune" TEXT,
"commune-principale" TEXT,
"province" TEXT);
""")
cursor.execute("""CREATE TABLE IF NOT EXISTS eleves(
ID_Eleve INTEGER PRIMARY KEY AUTOINCREMENT,


+ 2826
- 0
liste-des-codes-postaux-belges-fr.csv
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


Laden…
Annuleren
Opslaan