forked from ScoDoc/ScoDoc
API assiduite: nip -> code_nip (oups)
This commit is contained in:
parent
cab72caebe
commit
dc375f1a89
@ -79,7 +79,7 @@ class Assiduite(db.Model):
|
|||||||
data = {
|
data = {
|
||||||
"assiduite_id": self.id,
|
"assiduite_id": self.id,
|
||||||
"etudid": self.etudid,
|
"etudid": self.etudid,
|
||||||
"nip": self.etudiant.code_nip,
|
"code_nip": self.etudiant.code_nip,
|
||||||
"moduleimpl_id": self.moduleimpl_id,
|
"moduleimpl_id": self.moduleimpl_id,
|
||||||
"date_debut": self.date_debut,
|
"date_debut": self.date_debut,
|
||||||
"date_fin": self.date_fin,
|
"date_fin": self.date_fin,
|
||||||
|
@ -24,7 +24,7 @@ MODULE = 1
|
|||||||
ASSIDUITES_FIELDS = {
|
ASSIDUITES_FIELDS = {
|
||||||
"assiduite_id": int,
|
"assiduite_id": int,
|
||||||
"etudid": int,
|
"etudid": int,
|
||||||
"nip": str,
|
"code_nip": str,
|
||||||
"moduleimpl_id": int,
|
"moduleimpl_id": int,
|
||||||
"date_debut": str,
|
"date_debut": str,
|
||||||
"date_fin": str,
|
"date_fin": str,
|
||||||
|
Loading…
Reference in New Issue
Block a user