Description: Fix FTBFS with Sphinx 2.4
Author: Bill Blough <bblough@debian.org>
Forwarded: https://github.com/nitmir/django-cas-server/pull/59
Last-Update: 2020-07-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/_ext/djangodocs.py
+++ b/docs/_ext/djangodocs.py
@@ -40,7 +40,7 @@ def setup(app):
         rolename="lookup",
         indextemplate="pair: %s; field lookup type",
     )
-    app.add_description_unit(
+    app.add_object_type(
         directivename="django-admin",
         rolename="djadmin",
         indextemplate="pair: %s; django-admin command",
