Skip to content

Add invite-only feature to course management#4

Merged
A1L13N merged 1 commit into
mainfrom
3-allow-for-courses-to-be-invite-only
Jan 20, 2025
Merged

Add invite-only feature to course management#4
A1L13N merged 1 commit into
mainfrom
3-allow-for-courses-to-be-invite-only

Conversation

@A1L13N
Copy link
Copy Markdown
Contributor

@A1L13N A1L13N commented Jan 20, 2025

  • Introduced an 'invite_only' field in the Course model to restrict enrollment to invited students only.
  • Updated CourseForm to include the 'invite_only' checkbox for course creation and editing.
  • Enhanced course detail view to check enrollment eligibility based on the 'invite_only' status, allowing only authorized users to enroll.
  • Modified the course detail template to display appropriate messages for invite-only courses, improving user communication.

These changes enhance course management capabilities and user experience by providing clearer enrollment options.

- Introduced an 'invite_only' field in the Course model to restrict enrollment to invited students only.
- Updated CourseForm to include the 'invite_only' checkbox for course creation and editing.
- Enhanced course detail view to check enrollment eligibility based on the 'invite_only' status, allowing only authorized users to enroll.
- Modified the course detail template to display appropriate messages for invite-only courses, improving user communication.

These changes enhance course management capabilities and user experience by providing clearer enrollment options.
@A1L13N A1L13N linked an issue Jan 20, 2025 that may be closed by this pull request
@A1L13N A1L13N merged commit c5b9ee8 into main Jan 20, 2025
@A1L13N A1L13N deleted the 3-allow-for-courses-to-be-invite-only branch January 20, 2025 02:18
Inshamhaque pushed a commit to Inshamhaque/education-website that referenced this pull request Mar 16, 2025
…es-to-be-invite-only

Add invite-only feature to course management
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.

Allow for courses to be invite only

1 participant