* Ignore all types of coverage files. I was getting things like `.coverage.$user`. * Refactor existing serializers. Some serializers had their metadata all the way at the top of the file in separate variables, even though no other serializer were using those variables. * Put things into proper places to make it easier to read and change, without having to jump up and down a 1000+ line file. * Add new serializers and use them in viewsets. These are the serializers for all 4 new endpoints, for courses, course runs, programs, and their aggregation. * Add new mixin for detail endpoint. The mixin will add `/detail` to the end of whatever viewset that uses it. * Call isort on the codebase. * Refactor serializer test code. This will make it x10 easier to add tests for the serializers we introduced in this PR. * Add test code for serializers. * Refactor and add tests for viewsets.
| Name |
Last commit
|
Last update |
|---|---|---|
| .dev/volumes | Loading commit data... | |
| .travis | Loading commit data... | |
| .tx | Loading commit data... | |
| acceptance_tests | Loading commit data... | |
| course_discovery | Loading commit data... | |
| docs | Loading commit data... | |
| requirements | Loading commit data... | |
| .bowerrc | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| .dockerignore | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .isort.cfg | Loading commit data... | |
| .pep8 | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CONTRIBUTORS.txt | Loading commit data... | |
| LICENSE | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.rst | Loading commit data... | |
| api-compact.yaml | Loading commit data... | |
| api.yaml | Loading commit data... | |
| bower.json | Loading commit data... | |
| codecov.yml | Loading commit data... | |
| conftest.py | Loading commit data... | |
| docker-compose.yml | Loading commit data... | |
| gulpfile.js | Loading commit data... | |
| manage.py | Loading commit data... | |
| openedx.yaml | Loading commit data... | |
| package-lock.json | Loading commit data... | |
| package.json | Loading commit data... | |
| pylintrc | Loading commit data... | |
| pylintrc_tweaks | Loading commit data... | |
| pytest.ini | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| webpack.config.js | Loading commit data... |