Add site_urls back to TKO urls
Signed-off-by: James Ren <[email protected]>
--- autotest/frontend/urls.py 2010-01-15 12:45:51.000000000 -0800
+++ autotest/frontend/urls.py 2010-01-15 12:45:51.000000000 -0800
@@ -1,3 +1,4 @@
+import os.path
from django.conf.urls import defaults
from django.conf import settings
@@ -19,6 +20,11 @@
(PLANNER_RE_PREFIX, defaults.include('frontend.planner.urls')),
)
+if os.path.exists(os.path.join(os.path.dirname(__file__),
+ 'tko', 'site_urls.py')):
+ urlpatterns += defaults.patterns(
+ '', (TKO_RE_PREFIX, defaults.include('frontend.tko.site_urls')))
+
debug_patterns = defaults.patterns(
'',
# redirect /tko and /results to local apache server
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest