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

Add Edly site config api - EDLY-6656 #82

Merged
merged 2 commits into from
May 14, 2024
Merged

Conversation

taimoor-ahmed-1
Copy link

Description: This PR adds EdlySiteConfigViewset for updating partner configurations.

JIRA: https://edlyio.atlassian.net/browse/EDLY-6656

Copy link

@Anas-hameed Anas-hameed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 23 to 28
TRIAL_PLAN = 'trial'
ESSENTIALS_PLAN = 'essentials'
ELITE_PLAN = 'elite'
TRIAL_EXPIRED_PLAN = 'trial expired'
DEACTIVATED_PLAN = 'deactivated'
LEGACY_PLAN = 'legacy'
Copy link

@muhammadali286 muhammadali286 May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from enum import Enum

class CoursePlans(Enum):
    TRIAL = 'trial'
    ESSENTIALS = 'essentials'
    ELITE_PLAN = 'elite'
    TRIAL_EXPIRED = 'trial expired'
    DEACTIVATED = 'deactivated'
    LEGACY = 'legacy'
   

@taimoor-ahmed-1 taimoor-ahmed-1 merged commit 24f0081 into develop-koa May 14, 2024
1 check passed
@taimoor-ahmed-1 taimoor-ahmed-1 deleted the tai/EDLY-6656 branch May 14, 2024 07:27
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.

4 participants