Commit e4d83a49 authored by Maxime Bombar's avatar Maxime Bombar

Non binaires

parent 5875ae93
......@@ -116,6 +116,9 @@ def wei_get_listes(self, data):
cur.execute("SELECT COUNT(*) FROM wei_1a WHERE genre='F';")
filles = cur.fetchone()['count']
cur.execute("SELECT COUNT(*) FROM wei_1a WHERE genre='N';")
nonbin = cur.fetchone()['count']
cur.execute("SELECT COUNT(*) FROM wei_1a WHERE dept='A0';")
infos = cur.fetchone()['count']
......@@ -159,6 +162,7 @@ def wei_get_listes(self, data):
'liste_1a' : liste_1a,
'mecs' : mecs,
'filles' : filles,
'nonbin' : nonbin,
'infos' : infos,
'maths' : maths,
'phys' : phys,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment