Skip to content

Commit

Permalink
Removed import in __init__
Browse files Browse the repository at this point in the history
This import gets called when Django starts. The imported module further imports Django REST Framework code that attempts to call the translation infrastructure before the apps registry is ready. This prevents Django from properly starting and users from upgrading Django REST Framework.
  • Loading branch information
Clinton Blackburn committed Nov 9, 2016
1 parent 6618c8d commit 739e00c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions edx_sga/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"""
Module for StaffGradedAssignmentXBlock.
"""

from .sga import StaffGradedAssignmentXBlock
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def package_data(pkg, root_list):

setup(
name='edx-sga',
version='0.5.0',
version='0.5.1',
description='edx-sga Staff Graded Assignment XBlock',
license='Affero GNU General Public License v3 (GPLv3)',
url="https://github.com/mitodl/edx-sga",
Expand All @@ -29,7 +29,7 @@ def package_data(pkg, root_list):
],
entry_points={
'xblock.v1': [
'edx_sga = edx_sga:StaffGradedAssignmentXBlock',
'edx_sga = edx_sga.sga:StaffGradedAssignmentXBlock',
]
},
package_data=package_data("edx_sga", ["static", "templates"]),
Expand Down

0 comments on commit 739e00c

Please sign in to comment.