Skip to content
Snippets Groups Projects
Commit 063c6fa1 authored by Dave St.Germain's avatar Dave St.Germain
Browse files

Reload has moved in python3

parent 05e1ec5b
No related merge requests found
......@@ -5,11 +5,15 @@ Utility functions related to urls.
from __future__ import absolute_import
import sys
import six
from importlib import import_module
from django.conf import settings
from django.urls import set_urlconf
if six.PY3:
from importlib import reload # pylint: disable=no-name-in-module,redefined-builtin
def reload_django_url_config():
"""
......
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