- # Portal
- url(r'^sample/', include('sample.urls')),
- # Debug
- url(r'^debug/', include('debug_platform.urls')),
- # Static files
- (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
- #
- # various trash views - bound to go away
- #
- (r'^tab/?$', 'trash.sampleviews.tab_view'),
- (r'^scroll/?$', 'trash.sampleviews.scroll_view'),
- (r'^plugin/?$', 'trash.pluginview.test_plugin_view'),
- (r'^dashboard/?$', 'trash.dashboard.dashboard_view'),
+]
+
+#this one would not match the convention
+# url(r'^debug/', include('debug_platform.urls')),
+# but it was commented out anyways
+for aux in auxiliaries:
+ if aux in INSTALLED_APPS:
+ urls.append ( url ( r'^%s/'%aux, include ('%s.urls'%aux )))