Skip to content

feat: add Academy model-Ismail 11713#2590

Open
vshaikismail-sonata wants to merge 1 commit intoopenedx:masterfrom
vshaikismail-sonata:ismail-11713
Open

feat: add Academy model-Ismail 11713#2590
vshaikismail-sonata wants to merge 1 commit intoopenedx:masterfrom
vshaikismail-sonata:ismail-11713

Conversation

@vshaikismail-sonata
Copy link
Copy Markdown

Description
Introduces the Academy model to support Essentials plan academy selection via ?product_key= routing. Includes fields for metadata (name, description, thumbnail, tags), Stripe integration (product_id, price_lookup_key), catalog association, and soft-delete (is_active, display_order, slug).

Comment thread enterprise/models.py Outdated
Comment thread enterprise/models.py
'Used to identify which academy the user selected at checkout entry.'
),
)
slug = models.SlugField(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Slug field also not required

Comment thread enterprise/models.py
'settings.ACADEMY_THUMBNAIL_S3_BASE_URL.'
),
)
price = models.DecimalField(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Price field not required here as it will fetch from stripe API

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.

2 participants