Skip to content

Commit

Permalink
merge from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 24, 2024
2 parents 0ad5a44 + 558feaf commit 9e88009
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .vscode/workspace.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"© Ocado Group",
"Created on $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR at $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND($CURRENT_TIMEZONE_OFFSET)."
"",
"${1:__description__}",
"${1:__description__}",
"\"\"\""
]
},
Expand All @@ -26,7 +26,7 @@
" * © Ocado Group",
" * Created on $CURRENT_DATE/$CURRENT_MONTH/$CURRENT_YEAR at $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND($CURRENT_TIMEZONE_OFFSET)."
" *",
" * ${1:__description__}",
" * ${1:__description__}",
" */"
]
},
Expand Down
4 changes: 2 additions & 2 deletions backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ django-import-export = "*"
google-cloud-logging = "==1.*"
google-auth = "==2.*"
google-cloud-container = "==2.3.0"
"django-anymail[amazon_ses]" = "==7.0.*"
codeforlife = {ref = "enable_disable_otp", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
# "django-anymail[amazon_ses]" = "==7.0.*"
codeforlife = {ref = "v0.9.5", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
django = "==3.2.20"
djangorestframework = "==3.13.1"
django-cors-headers = "==4.1.0"
Expand Down
61 changes: 44 additions & 17 deletions backend/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/api/signals/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
All signals for the User model.
"""

import pyotp
from codeforlife.models.signals.pre_save import (
previous_values_are_unequal,
was_created,
)
from codeforlife.user.models import User, UserProfile
from django.db.models.signals import post_save, pre_save
from django.dispatch import receiver
import pyotp

# pylint: disable=unused-argument

Expand Down
Loading

0 comments on commit 9e88009

Please sign in to comment.