Commit graph

16 commits

Author SHA1 Message Date
mcbloch 02d52f08dd add validation check that choice options are correctly set 2022-05-15 00:04:50 +02:00
Jan-Pieter Baert 5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
Midgard 4f7ffc0e3d
Reformat with black 2020-07-17 11:40:15 +02:00
Midgard 1025ade758
Fix validation and saving for multi_choice, add price range 2020-02-24 00:31:14 +01:00
Midgard 513e495665
Add own logic and form elements
Bypass WTForms and use manually written <select> and all that.
2020-02-23 23:31:11 +01:00
Midgard f900c85931
Add form for choices, submitting fails 2020-02-21 18:38:30 +01:00
Midgard 6f24b52855
Make creating order and adding items work 2020-01-27 02:33:55 +01:00
Midgard 3380d790bc
Store attributes directly on model instead of in map 2020-01-27 00:48:26 +01:00
Midgard fb9b0d7960
Rename "base" to "dish" 2020-01-26 23:51:29 +01:00
Midgard 238c841239
Add location's attributes in Location.str 2020-01-26 15:40:04 +01:00
Midgard a346220896
Adjust str() of HLDS models to deal with int price 2020-01-26 15:13:48 +01:00
Midgard fe593fece6
Add typing in HLDS code, change price to int 2020-01-26 15:09:22 +01:00
Midgard 996444e1b0
Make choice type available in dish, make tostring idempotent 2020-01-26 02:09:53 +01:00
Midgard 22aa5a0fb0
Fix issues reported by pylint
And silence the self-use warning: Tatsu requires it this way
2020-01-26 01:50:30 +01:00
Midgard 37e3799985
Add semantic actions to create models, add str for models 2020-01-26 01:31:04 +01:00
Midgard b459dbc9b7
Start models 2020-01-25 01:33:23 +01:00