Skip to content
Snippets Groups Projects
Unverified Commit abe822e2 authored by edx-pipeline-bot's avatar edx-pipeline-bot Committed by GitHub
Browse files

Merge pull request #28441 from edx/private_to_public_933edd2

Mergeback PR from private to public.
parents 6d0b8ee7 933edd27
Branches
Tags release-2020-07-02-10.30
No related merge requests found
......@@ -5,9 +5,13 @@ and auto discover tasks in all installed django apps.
Taken from: https://celery.readthedocs.org/en/latest/django/first-steps-with-django.html
"""
import os
# Patch the xml libs before anything else.
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
# Set the default Django settings module for the 'celery' program
# and then instantiate the Celery singleton.
......
......@@ -7,6 +7,11 @@ Taken from: https://celery.readthedocs.org/en/latest/django/first-steps-with-dja
import os
# Patch the xml libs before anything else.
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
# Set the default Django settings module for the 'celery' program
# and then instantiate the Celery singleton.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment