diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcollector/urls.py')
-rw-r--r-- | bitbake/lib/toaster/bldcollector/urls.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/bldcollector/urls.py b/bitbake/lib/toaster/bldcollector/urls.py index 64722f2cdc..076afdb722 100644 --- a/bitbake/lib/toaster/bldcollector/urls.py +++ b/bitbake/lib/toaster/bldcollector/urls.py | |||
@@ -1,7 +1,7 @@ | |||
1 | # | 1 | # |
2 | # BitBake Toaster Implementation | 2 | # BitBake Toaster Implementation |
3 | # | 3 | # |
4 | # Copyright (C) 2014 Intel Corporation | 4 | # Copyright (C) 2014-2017 Intel Corporation |
5 | # | 5 | # |
6 | # This program is free software; you can redistribute it and/or modify | 6 | # This program is free software; you can redistribute it and/or modify |
7 | # it under the terms of the GNU General Public License version 2 as | 7 | # it under the terms of the GNU General Public License version 2 as |
@@ -19,7 +19,9 @@ | |||
19 | 19 | ||
20 | from django.conf.urls import patterns, include, url | 20 | from django.conf.urls import patterns, include, url |
21 | 21 | ||
22 | urlpatterns = patterns('bldcollector.views', | 22 | import bldcollector.views |
23 | |||
24 | urlpatterns = [ | ||
23 | # landing point for pushing a bitbake_eventlog.json file to this toaster instace | 25 | # landing point for pushing a bitbake_eventlog.json file to this toaster instace |
24 | url(r'^eventfile$', 'eventfile', name='eventfile'), | 26 | url(r'^eventfile$', bldcollector.views.eventfile, name='eventfile'), |
25 | ) | 27 | ] |