Commit graph

20 commits

Author SHA1 Message Date
53d35094c0 Remove extraneous comments, rename test functions.
- Removed uneeded comments (like previous commits).
- Renamed some test functions to make them more explicit, and remove the
  associated docstring.
2023-08-12 21:02:09 +02:00
b4df449bcb Small code & comments changes.
- removed comments when they were not helping understanding the code.
- changed some variable names to ease readability
- make use of dict.update() to ease readability
- use dict comprehensions when possible to ease readability
- changed the naming from intial to origin (bad translation from english)
2023-08-12 21:00:42 +02:00
SimGetti
59ad699edf Replace last instances of is_ongoing by is_open 2023-08-11 16:52:23 +00:00
Laetitia Getti
2083142d47 generate a 6 digit long unique code for each grouped order 2023-08-09 08:09:43 +00:00
Laetitia Getti
c8811f93d0 sort items by name 2023-07-25 10:55:54 +02:00
Laetitia Getti
afea416d42 use GOForm for updating and warning message when deadline in the past
closes #94
2023-07-07 15:07:01 +02:00
Laetitia Getti
4f98a5ec88 separate date and time in grouped order create form
closes #88
2023-07-07 15:07:01 +02:00
Laetitia Getti
8382348729 we cannot create two similar grouped orders 2023-05-24 13:52:36 +02:00
Laetitia Getti
04b754a51d date form validation 2023-05-24 13:52:36 +02:00
Laetitia Getti
8ab776fad0 correct tests 2023-04-20 12:24:41 +02:00
Laetitia Getti
d0279578a5 tests on GroupedOrderDetailView 2023-04-19 18:13:07 +02:00
Laetitia Getti
d650ec2913 install flake8 and check files 2023-04-19 18:01:29 +02:00
Laetitia Getti
5ec40a5ea3 install black and format files 2023-04-19 18:00:25 +02:00
Laetitia Getti
0aaef7aea8 install pytest 2023-04-19 17:59:06 +02:00
Laetitia Getti
0e3f0a3e66 is_to_be_delivered method and refactoring order views 2023-04-18 16:05:28 +02:00
Laetitia Getti
6c3ed24b74 camelcase for GroupedOrder 2023-04-18 16:04:40 +02:00
Laetitia Getti
50e72f7235 install pytest-isort and isort and sort files 2023-04-18 16:01:42 +02:00
Laetitia Getti
5a5b4ccb25 install flake8 and check files 2023-04-18 16:01:26 +02:00
Laetitia Getti
e522b59ff3 install black and format files 2023-04-18 16:01:10 +02:00
Laetitia Getti
2c5eda993a install pytest 2023-04-18 16:00:52 +02:00