move location stuff into the corresponding models (now renamed to Locations)

This commit is contained in:
Laura Klünder 2016-12-16 11:03:40 +01:00
parent 7528686e87
commit ed0f168a77
11 changed files with 236 additions and 233 deletions

View file

@ -1,6 +1,6 @@
from django.shortcuts import redirect, render
from c3nav.mapdata.locations import get_location
from c3nav.mapdata.models.locations import get_location
def main(request, origin=None, destination=None):