-
Notifications
You must be signed in to change notification settings - Fork 4
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 #343 from helxplatform/update-django-4.2
Update django 4.2. This merge is accompanied with appstore-chart PR: helxplatform/appstore-chart#107
- Loading branch information
Showing
11 changed files
with
85 additions
and
34 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
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 |
---|---|---|
|
@@ -48,14 +48,15 @@ def _create_user_and_login( | |
return user | ||
|
||
def test_login_whitelisted_user(self): | ||
print("---- TESTING FOR WHITELISTED USER (steve_whitelist) ----- ") | ||
user = self._create_user_and_login( | ||
username="Steve_whitelist", email="[email protected]", password="admin" | ||
) | ||
AuthorizedUser.objects.create(email=user.email) | ||
self.request.user = user | ||
self.request.session = self.client.session | ||
response = self.middleware.process_request(self.request) | ||
self.assertTrue(isinstance(response, HttpResponseRedirect)) | ||
self.assertFalse(isinstance(response, HttpResponseRedirect)) | ||
self.assertEqual( | ||
list(self.request.user.groups.values_list("name", flat=True))[0], | ||
self.groups.name, | ||
|
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,23 +1,23 @@ | ||
Django==3.2.23 | ||
django-allauth==0.54.0 | ||
django-cors-headers==3.7.0 | ||
django-crispy-forms==1.11.2 | ||
django-debug-toolbar==3.2 | ||
django-extensions==3.1.1 | ||
django-saml2-auth==2.2.1 | ||
djangorestframework==3.12.2 | ||
drf-spectacular==0.15.1 | ||
Django==4.2 | ||
django-allauth==0.61.1 | ||
django-cors-headers==4.3.1 | ||
django-crispy-forms==2.1 | ||
django-debug-toolbar==4.3.0 | ||
django-extensions==3.2.3 | ||
grafana-django-saml2-auth==3.12.0 | ||
djangorestframework==3.14.0 | ||
drf-spectacular==0.27.1 | ||
flake8==3.9.0 | ||
gunicorn==20.1.0 | ||
mock==4.0.2 | ||
pysaml2 | ||
python3-openid==3.1.0 | ||
pysaml2==7.4.2 | ||
python3-openid==3.2.0 | ||
requests==2.31.0 | ||
requests-oauthlib | ||
requests-oauthlib==1.4.0 | ||
selenium==3.141.0 | ||
tycho-api>=1.17 | ||
webdriver-manager==3.2.1 | ||
sqlparse==0.4.2 | ||
asgiref==3.4.1 | ||
psycopg2-binary | ||
python-irodsclient==1.1.5 | ||
sqlparse==0.4.4 | ||
asgiref==3.7.2 | ||
psycopg[binary] | ||
python-irodsclient==1.1.5 |