File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 368368
369369APPLICATION_INSIGHTS_INSTRUMENTATION_KEY = env ('APPLICATION_INSIGHTS_INSTRUMENTATION_KEY' )
370370
371- if APPLICATION_INSIGHTS_INSTRUMENTATION_KEY :
371+ if not TESTING and APPLICATION_INSIGHTS_INSTRUMENTATION_KEY :
372372 MIDDLEWARE .append ('opencensus.ext.django.middleware.OpencensusMiddleware' )
373373 OPENCENSUS = {
374374 'TRACE' : {
Original file line number Diff line number Diff line change 1212Including another URLconf
1313 1. Import the include() function: from django.conf.urls import url, include
1414 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
15+ If you are looking for an api endpoint, search also url_path in other files.
1516"""
1617from django .views .decorators .clickjacking import xframe_options_exempt
1718from django .conf .urls import url , include
You can’t perform that action at this time.
0 commit comments