If you use :func:`~django.test.utils.override_settings` here, sphinx will automatically link to the django docs, thanks to the magic that is intersphinx