Update django.rst

Added code to make sure settings are configured properly before running call_command.
fix urlparse import
Update logging.rst
Merge pull request #347 from loisaidasam/patch-1

Update logging.rst
Merge pull request #346 from mgax/flask-py3

fix urlparse import
Improve logging documentation around stack capturing
Update logging.rst
Merge pull request #348 from loisaidasam/patch-2

Update logging.rst
Merge pull request #342 from roadhead/patch-1

Update django.rst
Reintroduced the is_authenticated for Django users to preserve the backward compatibility.