-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from prefeitura-rio/apis_monitoramento_turn_back
testing old commit
- Loading branch information
Showing
5 changed files
with
23 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
from rest_framework import routers | ||
|
||
from api_dados_rio.v2.clima_radar import views | ||
# from api_dados_rio.v2.clima_radar import views | ||
from . import views | ||
|
||
router = routers.DefaultRouter() | ||
router.register( | ||
r"precipitacao_15min", | ||
views.Last15MinRainViewRadar, | ||
views.Last15MinRainView, | ||
basename="precipitacao_15min", | ||
) | ||
router.register( | ||
r"ultima_atualizacao_precipitacao_15min", | ||
views.LastUpdateRainViewRadar, | ||
views.LastUpdateRainView, | ||
basename="ultima_atualizacao_precipitacao_15min", | ||
) | ||
router.register( | ||
r"precipitacao_120min", | ||
views.Last120MinRainViewRadar, | ||
views.Last120MinRainView, | ||
basename="precipitacao_120min", | ||
) | ||
router.register( | ||
r"ultima_atualizacao_precipitacao_120min", | ||
views.LastUpdate120MinRainViewRadar, | ||
views.LastUpdate120MinRainView, | ||
basename="ultima_atualizacao_precipitacao_120min", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters