Add DASHBOARD_PAGE_SIZE to settings

Add DASHBOARD_PAGE_SIZE to TEMPLATE.env and app.json

Parse dashboard page size value
This commit is contained in:
Paweł Jastrzębski
2021-04-30 08:36:50 +02:00
committed by R. Miles McCain
parent b44642e023
commit d66f683104
4 changed files with 14 additions and 2 deletions

View File

@@ -91,4 +91,8 @@ AGGRESSIVE_HASH_SALTING=True
# - https://www.openstreetmap.org/?mlat=$LATITUDE&mlon=$LONGITUDE (default)
# - https://www.google.com/maps/search/?api=1&query=$LATITUDE,$LONGITUDE
# - https://www.mapquest.com/near-$LATITUDE,$LONGITUDE
LOCATION_URL=https://www.openstreetmap.org/?mlat=$LATITUDE&mlon=$LONGITUDE
LOCATION_URL=https://www.openstreetmap.org/?mlat=$LATITUDE&mlon=$LONGITUDE
# How many services should be displayed on dashboard page?
# Set to big number if you don't want pagination at all.
DASHBOARD_PAGE_SIZE=5