forked from ScoDoc/ScoDoc
replace ["partition_name"] by .partition_name
This commit is contained in:
parent
4a3ceb291a
commit
b0ebdf2fb9
@ -419,7 +419,7 @@ def formsemestre_order_partitions(formsemestre_id: int):
|
||||
[
|
||||
partition.to_dict()
|
||||
for partition in formsemestre.partitions.order_by(Partition.numero)
|
||||
if partition["partition_name"] is not None
|
||||
if partition.partition_name is not None
|
||||
]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user