introducing the Locator
This commit is contained in:
parent
ef94932f65
commit
06203e6cca
3 changed files with 142 additions and 25 deletions
|
@ -158,6 +158,10 @@ class MapUpdate(models.Model):
|
|||
from c3nav.routing.router import Router
|
||||
Router.rebuild()
|
||||
|
||||
logger.info('Rebuilding locator...')
|
||||
from c3nav.routing.locator import Locator
|
||||
Locator.rebuild()
|
||||
|
||||
for new_update in new_updates:
|
||||
new_update.processed = True
|
||||
new_update.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue