Skip to content
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

Clean up organization mixins #343

Merged
merged 5 commits into from
Oct 15, 2023
Merged

Clean up organization mixins #343

merged 5 commits into from
Oct 15, 2023

Conversation

leduythuccs
Copy link
Contributor

Description

This PR is to clean up the use of the old CustomOrganizationMixin.

Type of change: refactor

What

This PR remove the CustomOrganizationMixin, and standardize the OrganizationMixin. It adds PublicOrganizationMixin and PrivateOrganizationMixin to replace the CustomOrganizationMixin.

Also clean up the CustomAdminOrganizationMixin

Why

Preparation for new org UI

How Has This Been Tested?

  • Tested with accessing all org private endpoint
  • Create new problems/contests, edit problems

@leduythuccs leduythuccs requested a review from hieplpvip October 15, 2023 10:10
judge/forms.py Show resolved Hide resolved
judge/views/organization.py Show resolved Hide resolved
judge/views/organization.py Show resolved Hide resolved
@leduythuccs leduythuccs merged commit 8bd959a into master Oct 15, 2023
6 checks passed
@leduythuccs leduythuccs deleted the thuc/org-mixins branch October 15, 2023 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants