Ned Batchelder
39c7a2db7c
Revert "Use drf-yasg for Open API documentation"
2019-06-11 16:05:00 -04:00
Ned Batchelder
9257f68fd8
The default TIME_ZONE should be UTC
...
In production, we use UTC as the time zone. DRF 3.7.7 now puts all
times in the currently set timezone where it used to use UTC. By
setting TIME_ZONE to UTC, we keep the same results we used to get.
In a few places, we had to change the expected test results to be UTC.
2019-06-10 15:27:39 -04:00
jansenk
e5c3084e8c
return 422 on bad input
2019-06-06 15:39:46 -04:00
jansenk
cf32f5bcf9
allow orgs w/o idp configured to enroll students in a program
2019-06-05 12:55:54 -04:00
jansenk
095c420378
check curriculum rather than courses for program course membership
2019-06-04 14:06:00 -04:00
Kyle McCormick
c487b9a384
Change 'withdrawn' status to 'canceled' in program_enrollments
...
This makes the LMS program_enrollments API compatible with the
Registrar programs API, as specified in the Master's partner
integration guide.
EDUCATOR-4389
2019-06-03 10:16:19 -04:00
Zachary Hancock
1bb449a742
Merge pull request #20653 from edx/zhancock/complete-waiting-enrollments
...
complete waiting enrollments. fixed
2019-05-29 10:30:16 -04:00
Zach Hancock
a350d327de
complete waiting enrollments. fixed
2019-05-24 13:47:49 -04:00
Matt Hughes
047c379cab
Add endpoint for checking learner program enrollments
...
JIRA:EDUCATOR-4327
2019-05-23 10:37:13 -04:00
Michael Roytman
b0f715d1c2
add a GET endpoint to get course run overviews for a user's program enrollment
2019-05-22 13:35:49 -04:00
Stu Young
fa3f71cd13
INCR-284 Run python-modernize on lms/djangoapps/program_enrollments/api ( #20591 )
...
* run python modernize
* run isort
2019-05-21 11:29:23 -04:00
Stu Young
4e1f63bd15
INCR-283 Run python-modernize on lms/djangoapps/program_enrollments/migrations and lms/djangoapps/program_enrollments/tests ( #20578 )
...
* run python modernize
* run isort
* Fix merge conflicts
* Fix merge conflict--file was deleted on master
2019-05-21 11:27:52 -04:00
Simon Chen
0b08867aee
Revert "complete waiting enrollments"
...
This reverts commit b041a1f3e6 .
2019-05-15 21:20:45 -04:00
Rick Reilly
604ab4fd15
Add PATCH method for program enrollments
2019-05-10 15:46:40 -04:00
Zach Hancock
b041a1f3e6
complete waiting enrollments
2019-05-10 09:55:24 -04:00
jansenk
1caa647621
add program course enrollment PATCH
2019-05-07 15:52:03 -04:00
Rick Reilly
350b4a2589
Add POST method for program enrollments
2019-05-03 14:14:04 -04:00
Alex Dusenbery
403fb52e93
Add a GET endpoint to list ProgramCourseEnrollment data.
2019-05-03 13:39:10 -04:00
jansenk
6052a4e4c6
add program course enrollment post endpoint
2019-05-02 17:42:18 -04:00
Alex Dusenbery
20f0bc03d4
Add a GET API endpoint for program enrollments.
2019-05-01 11:35:38 -04:00