projects
/
kismet-logviewer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moar
[kismet-logviewer.git]
/
logviewer
/
logviewer
/
urls.py
diff --git
a/logviewer/logviewer/urls.py
b/logviewer/logviewer/urls.py
index e915814ef36c92e2eb1baec9832efbdb94b1818c..584a77cb38ab15ccf78f2eae6870bb61fe56f048 100644
(file)
--- a/
logviewer/logviewer/urls.py
+++ b/
logviewer/logviewer/urls.py
@@
-15,6
+15,7
@@
Including another URLconf
"""
from django.contrib import admin
from django.urls import include, path
"""
from django.contrib import admin
from django.urls import include, path
+from django.http import HttpResponse
urlpatterns = [
path('', include('browse.urls')),
urlpatterns = [
path('', include('browse.urls')),
@@
-38,4
+39,7
@@
urlpatterns = [
path('messagebus/last-time/0/messages.json', include('dbview.urls')),
path('channels/channels.json', include('dbview.urls')),
path('devices/views/all/devices.json', include('dbview.urls')),
path('messagebus/last-time/0/messages.json', include('dbview.urls')),
path('channels/channels.json', include('dbview.urls')),
path('devices/views/all/devices.json', include('dbview.urls')),
+ path('eventbus/events.ws', include('dbview.urls')),
+ path('devices/by-key/<str:devicename>/device.json', include('devices.urls')),
+ path('devices/multikey/as-object/devices.json', include('dbview.urls')),
]
]