haldis/app/views
Midgard ff0ea068de
Don't crash on orders that don't have a slug
Orders created before we introduced slugs don't have a slug. This commit
introduces code to work with them. Without these changes, the legacy
orders are not reachable any more, and trying to create a link for them,
crashes the page.

I wrote this commit because in my test environment I had a long-lived
order for testing purposes, and the home page crashed because the order
would show up in the list of Open Orders.
2022-05-25 10:55:33 +02:00
..
debug.py Fix formatting 2022-04-19 22:04:49 +02:00
general.py Fix formatting 2022-04-19 22:04:49 +02:00
order.py Don't crash on orders that don't have a slug 2022-05-25 10:55:33 +02:00
stats.py Fix formatting 2022-04-19 22:04:49 +02:00
themes.yml Fix themes 2020-07-18 03:29:27 +02:00