route from/to custom locations

This commit is contained in:
Laura Klünder 2017-11-28 23:08:47 +01:00
parent f5ee24495e
commit b92c871bc2
5 changed files with 39 additions and 17 deletions

View file

@ -227,6 +227,8 @@ def get_custom_location_for_request(slug: str, request):
class CustomLocation:
can_search = True
can_describe = True
access_restriction_id = None
def __init__(self, level, x, y):
x = round(x, 2)