Update django.rst

Added code to make sure settings are configured properly before running call_command.