-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Django 4.2, add actions, integrate tycho and cleanup. #350
Conversation
Jan 2024 patches
ENH: Add RADX logo
Eduhelx-data715 settings changes.
fix: Re-add install clause of Makefile.
Update django 4.2. This merge is accompanied with appstore-chart PR: helxplatform/appstore-chart#107
feat: Adding whitelisting via usernames (onyens for UNC SAML)
Adding tycho functionality
# UNC Relay: relay.unc.edu:25 | ||
# Renci Relay: relay.renci.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just remove these kinds of things if we don't need them anymore. If we need to go back and find them later, that's what version control is for
@@ -18,9 +18,16 @@ | |||
|
|||
|
|||
class AllowWhiteListedUserOnly(MiddlewareMixin): | |||
def __init__(self, get_response=None): | |||
if get_response is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be rewritten as
self.get_response = get_response ? get_response : self._get_response
if you care about that kind of thing. No big deal though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Ternary too clever?
No description provided.