Commit 5c9a5545368208501b45e7c9f150fa1d7600dc98
1 parent
190b2870
Exists in
dev
send others weather config commands
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/core/pyros_django/monitoring/views.py
... | ... | @@ -4,9 +4,11 @@ from common.models import Command |
4 | 4 | |
5 | 5 | # Create your views here. |
6 | 6 | |
7 | + | |
7 | 8 | def index(request): |
8 | 9 | return HttpResponse("Hello, world. You're at the polls index.") |
9 | 10 | |
11 | + | |
10 | 12 | def weather_config(request): |
11 | 13 | """ PM 20180926 prototype without database |
12 | 14 | http://127.0.0.1:8000/dashboard/weather/config |
... | ... | @@ -47,4 +49,3 @@ def weather_config_update(request): |
47 | 49 | except: |
48 | 50 | return HttpResponse('{"update":"ERROR", "cmd_name":"' + cmd_name + '"}', content_type="application/json", status="500") |
49 | 51 | |
50 | - | ... | ... |