Browse Source

Update readme

master
Brett Langdon 9 years ago
parent
commit
3b521a8d83
No known key found for this signature in database GPG Key ID: A2ECAB73CE12147F
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      README.md

+ 3
- 2
README.md View File

@ -12,6 +12,7 @@ pip install django==1.9.4 https://github.com/DataDog/dd-trace-py/archive/v0.5.2.
python manage.py runserver
```
# Producing the error
Open http://localhost:8000/
Will receive the following error:
@ -42,7 +43,7 @@ Traceback (most recent call last):
error: getaddrinfo() argument 2 must be integer or string
```
Reproducing via Python repl:
# Reproducing via Python repl
```
$ python
@ -63,7 +64,7 @@ socket.error: getaddrinfo() argument 2 must be integer or string
`getaddrinfo` only allows `str` or `int` for the port number and errors on `unicode`. This is not an issue for Python 3.
Fixing the problem:
# Fixing the problem
```python
DATADOG_TRACE = {


Loading…
Cancel
Save