diff --git a/dev-python/django/django-4.2.23.ebuild b/dev-python/django/django-4.2.23.ebuild index 9cf1a5ef0ecbe..658e32ff4790e 100644 --- a/dev-python/django/django-4.2.23.ebuild +++ b/dev-python/django/django-4.2.23.ebuild @@ -60,6 +60,8 @@ PATCHES=( "${FILESDIR}"/django-5.1-more-pypy3.patch # https://code.djangoproject.com/ticket/34900 "${FILESDIR}"/django-4.2.21-py313.patch + # https://github.com/django/django/pull/19639 + "${FILESDIR}"/django-5.2.5-htmlparser.patch ) distutils_enable_sphinx docs --no-autodoc diff --git a/dev-python/django/django-5.1.11.ebuild b/dev-python/django/django-5.1.11.ebuild index 4fbe18c237858..43d49f554fb27 100644 --- a/dev-python/django/django-5.1.11.ebuild +++ b/dev-python/django/django-5.1.11.ebuild @@ -54,6 +54,8 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/django-4.0-bashcomp.patch + # https://github.com/django/django/pull/19639 + "${FILESDIR}"/django-5.2.5-htmlparser.patch ) distutils_enable_sphinx docs --no-autodoc