-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from hpi-sam/129-n00-create-basic-exercise
129 n00 create basic exercise
- Loading branch information
Showing
63 changed files
with
1,533 additions
and
810 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from helpers.invitation_logic import LevenshteinCode | ||
from django.utils import timezone | ||
|
||
from helpers.id_generator import LevenshteinCode | ||
|
||
CODE_LENGTH = 6 | ||
INVITATION_LOGIC = LevenshteinCode(CODE_LENGTH) | ||
ID_GENERATOR = LevenshteinCode(CODE_LENGTH) | ||
CURRENT_TIME = lambda: timezone.now() | ||
DEFAULT_STATE_ID = 101 |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.