-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add course runs endpoint. #37
Conversation
Note that tests are passing, but the CI build is failing because of quality violations. Since we've changed the interface of |
@@ -8,5 +8,6 @@ | |||
router = routers.SimpleRouter() | |||
router.register(r'catalogs', views.CatalogViewSet) | |||
router.register(r'courses', views.CourseViewSet, base_name='course') | |||
router.register(r'course-runs', views.CourseRunViewSet, base_name='course-run') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Silly, I know, but we need to use course_runs
to support Slumber. See samgiles/slumber#44.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blergh. Fixed.
7ed5e4a
to
02766da
Compare
ECOM-3898
I'm leaving many of these errors to be resolved when we've got a solution for course search.
02766da
to
9f49c6f
Compare
8109b21
to
2e8f6f2
Compare
e094548
to
8b30f7d
Compare
e5902c5
to
4b72411
Compare
60cbf72
to
f9d67ed
Compare
ECOM-3898
@bderusha @clintonb I've based this PR off Bill's branch. The code will need some updating once the data model is finalized, but this is a start for now.