Skip to content

Add ability to cap number of enrollments in a course - #1967

Merged
chrisndodge merged 1 commit into
masterfrom
feature/cdodge/cap-num-enrollments
Feb 4, 2014
Merged

Add ability to cap number of enrollments in a course#1967
chrisndodge merged 1 commit into
masterfrom
feature/cdodge/cap-num-enrollments

Conversation

@chrisndodge

Copy link
Copy Markdown
Contributor

This feature will expose a new field in the Course Module that an author can set the maximum number of participants in a course.

Comment thread lms/djangoapps/courseware/views.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This has the unintuitive effect that if max_student_enrollments_allowed = 0, anyone can enroll.

add a test case for enrollment caps

pep8 fix
@chrisndodge

Copy link
Copy Markdown
Contributor Author

@ormsbee I addressed your comments and added test coverage. Think you might have a little time to do a final pass?

@ormsbee

ormsbee commented Feb 4, 2014

Copy link
Copy Markdown
Contributor

👍

chrisndodge pushed a commit that referenced this pull request Feb 4, 2014
Add ability to cap number of enrollments in a course
@chrisndodge
chrisndodge merged commit 3f43fb6 into master Feb 4, 2014
@jzoldak
jzoldak deleted the feature/cdodge/cap-num-enrollments branch May 5, 2014 14:55
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Jun 23, 2017
* Fix bug. Control at login. openedx#1961

* Fix review. Control at login. openedx#1941

* Mod bok-choy. openedx#1941

* Cancel dev-python-social-auth used.

* Used dev-python-social-auth. openedx#1941
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