Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
063c6fa1
Commit
063c6fa1
authored
5 years ago
by
Dave St.Germain
Browse files
Options
Downloads
Patches
Plain Diff
Reload has moved in python3
parent
05e1ec5b
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/djangoapps/util/url.py
+4
-0
4 additions, 0 deletions
common/djangoapps/util/url.py
with
4 additions
and
0 deletions
common/djangoapps/util/url.py
+
4
−
0
View file @
063c6fa1
...
...
@@ -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
():
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment