Skip to content
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

Closed

Conversation

peter-fogg
Copy link
Contributor

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.

@peter-fogg
Copy link
Contributor Author

Note that tests are passing, but the CI build is failing because of quality violations. Since we've changed the interface of Course, some old code (which is getting skipped in tests for now) has references to nonexistent class members.

@@ -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')
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Blergh. Fixed.

@peter-fogg peter-fogg force-pushed the peter-fogg/course-runs branch from 7ed5e4a to 02766da Compare March 21, 2016 20:06
Bill DeRusha and others added 4 commits March 21, 2016 21:09
I'm leaving many of these errors to be resolved when we've got a
solution for course search.
@peter-fogg peter-fogg force-pushed the peter-fogg/course-runs branch from 02766da to 9f49c6f Compare March 24, 2016 19:03
@bderusha bderusha force-pushed the bderusha/add-model-scaffolding branch 2 times, most recently from 8109b21 to 2e8f6f2 Compare March 24, 2016 19:56
@clintonb clintonb force-pushed the bderusha/add-model-scaffolding branch 10 times, most recently from e094548 to 8b30f7d Compare March 28, 2016 16:26
@bderusha bderusha force-pushed the bderusha/add-model-scaffolding branch 4 times, most recently from e5902c5 to 4b72411 Compare March 29, 2016 15:43
@bderusha bderusha force-pushed the bderusha/add-model-scaffolding branch 5 times, most recently from 60cbf72 to f9d67ed Compare March 29, 2016 17:22
@peter-fogg peter-fogg closed this Mar 31, 2016
@clintonb clintonb deleted the peter-fogg/course-runs branch April 7, 2016 05:07
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.

3 participants