Fix issues with retirement state population and unenrollment

- Prevent RetirementState state_execution_order collisions when updating
- Add slash to end of unenroll API endpoint to match other retirement endpoints
This commit is contained in:
bmedx
2018-05-09 10:40:00 -04:00
parent 330ca36d16
commit 01ebe1e26e
2 changed files with 6 additions and 1 deletions

View File

@@ -17,5 +17,5 @@ urlpatterns = [
url(r'^enrollment$', EnrollmentListView.as_view(), name='courseenrollments'),
url(r'^course/{course_key}$'.format(course_key=settings.COURSE_ID_PATTERN),
EnrollmentCourseDetailView.as_view(), name='courseenrollmentdetails'),
url(r'^unenroll$', UnenrollmentView.as_view(), name='unenrollment'),
url(r'^unenroll/$', UnenrollmentView.as_view(), name='unenrollment'),
]