Commit graph

13 commits

Author SHA1 Message Date
Lucie Galland
aa430fa4d2 add propositions back 2022-03-22 15:05:51 +01:00
Lucie Galland
05d274981b v1.0 - Nouvelle apparence, trombonoscope 2020-09-10 15:06:53 +02:00
Martin Pépin
8a74d543d4
Proposition.user is a User and not an ErnestoUser 2020-01-05 17:46:23 +01:00
Martin Pépin
9ddba47e83
Minor proposition tests cleanups 2020-01-05 17:27:31 +01:00
Martin Pépin
5d6e2c8b4f
Rewrite the PropositionDelete view 2020-01-05 17:22:33 +01:00
Martin Pépin
5381aba922
Remove the nb_{yes,no} fields
These fields duplicate information that is already present in the Answer
table. I guess they exist(ed) as an optimisation to avoid recomputing
the number of positive and negative answers per proposition each time
the list page is loaded. Given the small number of propositions we have
in practice and the extra housekeeping required to keep these fields up
to date, I consider simplicity matters more here.
2020-01-05 16:34:10 +01:00
Martin Pépin
9b6cc2b486
Refactor the Prop(osition) model 2020-01-05 15:58:16 +01:00
Martin Pépin
dbe54f075e
More robust tests for the propositions list view
Creating some data to populate the page revealed some bug in the
template while refactoring the Reponses/Answer model in the previous
commit.
2020-01-05 15:31:32 +01:00
Martin Pépin
88f62a56be
Factorize the code for propositions' answers 2020-01-05 12:03:41 +01:00
Martin Pépin
022583f0a9
Reimplement proposition list 2020-01-05 00:32:02 +01:00
Martin Pépin
dc2cd07d93
New implementation + tests for Prop creation 2020-01-05 00:18:31 +01:00
Martin Pépin
69b0b13ad3 Nettoyage
- PEP8
- Fichiers inutilisés
2016-07-14 01:58:52 +02:00
R1kM
20a02d1013 Bawa 2015-07-22 16:08:59 -04:00