Skip to content

Commit 70c6d25

Browse files
author
Emanuele Palazzetti
committed
[django] minor on docs
1 parent cae82d4 commit 70c6d25

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ddtrace/contrib/django/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
installed apps and in your middleware classes in ``settings.py``::
77
88
INSTALLED_APPS = [
9-
# ...
9+
# your Django apps...
1010
1111
# the order is not important
1212
'ddtrace.contrib.django',
@@ -15,7 +15,8 @@
1515
MIDDLEWARE_CLASSES = (
1616
# the tracer must be the first middleware
1717
'ddtrace.contrib.django.TraceMiddleware',
18-
...
18+
19+
# your middleware...
1920
)
2021
2122
The configuration of this integration is all namespaced inside a single
@@ -36,15 +37,15 @@
3637
3738
The available settings are:
3839
39-
* ``TRACER`` (default ``ddtrace.tracer``): set the default tracer
40+
* ``TRACER`` (default: ``ddtrace.tracer``): set the default tracer
4041
instance that is used to trace Django internals. By default the ``ddtrace``
4142
tracer is used.
4243
* ``DEFAULT_SERVICE`` (default: ``django``): set the service name used by the
4344
tracer. Usually this configuration must be updated with a meaningful name.
4445
* ``ENABLED``: (default: ``not django_settings.DEBUG``): set if the tracer
4546
is enabled or not. When a tracer is disabled, Django internals are not
4647
automatically instrumented and the requests are not traced even if the
47-
``TraceMiddleware`` is properly installed. This settings cannot be changed
48+
``TraceMiddleware`` is properly installed. This setting cannot be changed
4849
at runtime and a restart is required. By default the tracer is disabled
4950
when in ``DEBUG`` mode, enabled otherwise.
5051
"""

0 commit comments

Comments
 (0)