mattermore/app
Midgard 5ba49e6ecd
Make /resto deal with vegan and unrecognized kinds
Better to show a fallback category if a kind isn't recognized than
nothing at all!

The code is refactored to have a table definition in RESTO_TABLES, this
allows to DRY when recognizing unrecognized meals (hah).

The ** operator is used to copy dicts while being able to amend them:
{**meal, "name": …} is a copy of meal but with a different name.
2019-09-23 16:49:19 +02:00
..
static Add webfonts 2019-03-28 01:33:23 +01:00
templates Add new quote styling 2019-03-27 23:43:44 +01:00
__init__.py Batman! 2018-09-24 20:57:36 +02:00
app.py Make /resto deal with vegan and unrecognized kinds 2019-09-23 16:49:19 +02:00
models.py Merge remote-tracking branch 'gitlab/quote-styling' 2019-06-05 20:20:53 +02:00