forked from openedx/edx-platform
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove pocs migrations Final massive renaming, including models. Re-built migration. cleaning up a few tailing references
- Loading branch information
Showing
41 changed files
with
451 additions
and
620 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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from factory.django import DjangoModelFactory | ||
from ccx.models import CustomCourseForEdX | ||
from ccx.models import CcxMembership | ||
from ccx.models import CcxFutureMembership | ||
|
||
|
||
class CcxFactory(DjangoModelFactory): | ||
FACTORY_FOR = CustomCourseForEdX | ||
display_name = "Test CCX" | ||
|
||
|
||
class CcxMembershipFactory(DjangoModelFactory): | ||
FACTORY_FOR = CcxMembership | ||
active = False | ||
|
||
|
||
class CcxFutureMembershipFactory(DjangoModelFactory): | ||
FACTORY_FOR = CcxFutureMembership |
Oops, something went wrong.