Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 356ca23

Browse files
timgrahamreyang
authored andcommitted
Remove opencensus.ext.django from INSTALLED_APPS (#703)
1 parent 4673e1b commit 356ca23

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

contrib/opencensus-ext-django/README.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ the ``MIDDLEWARE`` section in the Django ``settings.py`` file.
2626
'opencensus.ext.django.middleware.OpencensusMiddleware',
2727
]
2828
29-
And add this line to the ``INSTALLED_APPS`` section:
30-
31-
.. code:: python
32-
33-
INSTALLED_APPS = [
34-
...
35-
'opencensus.ext.django',
36-
]
37-
3829
Additional configuration can be provided, please read
3930
`Customization <https://github.com/census-instrumentation/opencensus-python#customization>`_
4031
for a complete reference.

contrib/opencensus-ext-django/examples/app/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
'django.contrib.sessions',
3030
'django.contrib.messages',
3131
'django.contrib.staticfiles',
32-
'opencensus.trace.ext.django',
3332
)
3433

3534
MIDDLEWARE = (

docs/trace/usage.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -217,15 +217,6 @@ the ``MIDDLEWARE`` section in the Django ``settings.py`` file.
217217
'opencensus.ext.django.middleware.OpencensusMiddleware',
218218
]
219219
220-
And add this line to the ``INSTALLED_APPS`` section:
221-
222-
.. code:: python
223-
224-
INSTALLED_APPS = [
225-
...
226-
'opencensus.trace.ext.django',
227-
]
228-
229220
You can configure the sampler, exporter, propagator using the ``OPENCENSUS_TRACE`` setting in
230221
``settings.py``:
231222

tests/system/trace/django/app/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
'django.contrib.sessions',
3030
'django.contrib.messages',
3131
'django.contrib.staticfiles',
32-
'opencensus.ext.django',
3332
)
3433

3534
MIDDLEWARE = (

0 commit comments

Comments
 (0)