Add Pixel.restaurants property

- the property loads all `Restaurant`s from the database that
  are within the `Pixel`
This commit is contained in:
Alexander Hess 2021-01-31 19:20:17 +01:00
commit 63e8e94145
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
3 changed files with 58 additions and 2 deletions

View file

@ -172,6 +172,9 @@ per-file-ignores =
WPS202,WPS204,WPS214,
# Do not check for Jones complexity in the test suite.
WPS221,
# "Private" methods are really just a convention for
# fixtures without a return value.
WPS338,
# We do not care about the number of "# noqa"s in the test suite.
WPS402,
# Allow closures.