Skip to content

Conversation

@Mr-Sunglasses
Copy link
Contributor

fix: #121

@netlify
Copy link

netlify bot commented May 15, 2025

Deploy Preview for pyladiescon-portal-docs ready!

Name Link
🔨 Latest commit a35f6db
🔍 Latest deploy log https://app.netlify.com/projects/pyladiescon-portal-docs/deploys/682b8d90aeab6b00085107d2
😎 Deploy Preview https://deploy-preview-125--pyladiescon-portal-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Mr-Sunglasses
Copy link
Contributor Author

Requesting @Mariatta for a review.

@Mariatta
Copy link
Member

Thanks for the PR. I kinda wish to use the route of using the UserPassesTestMixin instead of a middleware.
https://docs.djangoproject.com/en/5.2/topics/auth/default/#django.contrib.auth.mixins.UserPassesTestMixin

@Mr-Sunglasses
Copy link
Contributor Author

Thanks for the PR. I kinda wish to use the route of using the UserPassesTestMixin instead of a middleware.

https://docs.djangoproject.com/en/5.2/topics/auth/default/#django.contrib.auth.mixins.UserPassesTestMixin

Should I rewrite it with UserPassesTestMixin or the current approach with middleware work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect users to complete their profile if they have not agreed to TOS

2 participants