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
d21a330d
Commit
d21a330d
authored
4 years ago
by
Kyle McCormick
Committed by
Kyle McCormick
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Tell isort not to sort certain imports in cms/
parent
538dbf69
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cms/__init__.py
+3
-0
3 additions, 0 deletions
cms/__init__.py
cms/conftest.py
+1
-1
1 addition, 1 deletion
cms/conftest.py
cms/urls.py
+2
-2
2 additions, 2 deletions
cms/urls.py
cms/wsgi.py
+3
-0
3 additions, 0 deletions
cms/wsgi.py
with
9 additions
and
3 deletions
cms/__init__.py
+
3
−
0
View file @
d21a330d
"""
Celery needs to be loaded when the cms modules are so that task
registration and discovery can work correctly.
Import sorting is intentionally disabled in this module.
isort:skip_file
"""
...
...
This diff is collapsed.
Click to expand it.
cms/conftest.py
+
1
−
1
View file @
d21a330d
...
...
@@ -17,7 +17,7 @@ from openedx.core.pytest_hooks import DeferPlugin
# Patch the xml libs before anything else.
from
safe_lxml
import
defuse_xml_libs
from
safe_lxml
import
defuse_xml_libs
# isort:skip
defuse_xml_libs
()
...
...
This diff is collapsed.
Click to expand it.
cms/urls.py
+
2
−
2
View file @
d21a330d
...
...
@@ -304,9 +304,9 @@ if 'openedx.testing.coverage_context_listener' in settings.INSTALLED_APPS:
]
# pylint: disable=wrong-import-position, wrong-import-order
from
edx_django_utils.plugins
import
get_plugin_url_patterns
from
edx_django_utils.plugins
import
get_plugin_url_patterns
# isort:skip
# pylint: disable=wrong-import-position
from
openedx.core.djangoapps.plugins.constants
import
ProjectType
from
openedx.core.djangoapps.plugins.constants
import
ProjectType
# isort:skip
urlpatterns
.
extend
(
get_plugin_url_patterns
(
ProjectType
.
CMS
))
# Contentstore
...
...
This diff is collapsed.
Click to expand it.
cms/wsgi.py
+
3
−
0
View file @
d21a330d
...
...
@@ -6,6 +6,9 @@ and any production WSGI deployments.
It exposes a module-level variable named ``application``. Django
'
s
``runserver`` and ``runfcgi`` commands discover this application via the
``WSGI_APPLICATION`` setting.
Import sorting is intentionally disabled in this module.
isort:skip_file
"""
# Patch the xml libs before anything else.
...
...
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