-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove unused function to test integration
- Loading branch information
1 parent
863b941
commit c3e97ad
Showing
10 changed files
with
17 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
""" | ||
Simple backend that returns the platform's models | ||
""" | ||
from lms.djangoapps.certificates.models import GeneratedCertificate # pylint: disable=C0415, E0401 | ||
from student.models import UserProfile # pylint: disable=C0415, E0401 | ||
|
||
|
||
def get_certificate_model(): | ||
"""Return the GeneratedCertificate model class when called during runtime""" | ||
from lms.djangoapps.certificates.models import GeneratedCertificate # pylint: disable=C0415, E0401 | ||
return GeneratedCertificate | ||
|
||
|
||
def get_user_profile_model(): | ||
"""Return the UserProfile model class when called during runtime""" | ||
from student.models import UserProfile # pylint: disable=C0415, E0401 | ||
return UserProfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
""" | ||
Simple backend that returns the platform's models | ||
""" | ||
from lms.djangoapps.certificates.models import GeneratedCertificate # pylint: disable=C0415, E0401 | ||
from common.djangoapps.student.models import UserProfile # pylint: disable=C0415, E0401 | ||
|
||
|
||
def get_certificate_model(): | ||
"""Return the GeneratedCertificate model class when called during runtime""" | ||
from lms.djangoapps.certificates.models import GeneratedCertificate # pylint: disable=C0415, E0401 | ||
return GeneratedCertificate | ||
|
||
|
||
def get_user_profile_model(): | ||
"""Return the UserProfile model class when called during runtime""" | ||
from common.djangoapps.student.models import UserProfile # pylint: disable=C0415, E0401 | ||
return UserProfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters