* 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 |
---|---|---|
.. | ||
0001_initial.py | Loading commit data... | |
0001_squashed_0011_auto_20161101_2207.py | Loading commit data... | |
0002_partner_studio_url.py | Loading commit data... | |
0002_userthrottlerate.py | Loading commit data... | |
0003_auto_20160315_1910.py | Loading commit data... | |
0003_auto_20170522_0856.py | Loading commit data... | |
0004_currency.py | Loading commit data... | |
0004_partner_site.py | Loading commit data... | |
0005_auto_20170830_1246.py | Loading commit data... | |
0005_populate_currencies.py | Loading commit data... | |
0006_partner_lms_url.py | Loading commit data... | |
0006_user_referral_tracking_id.py | Loading commit data... | |
0007_auto_20160510_2017.py | Loading commit data... | |
0007_auto_20171004_1133.py | Loading commit data... | |
0008_partner.py | Loading commit data... | |
0009_auto_20160730_2131.py | Loading commit data... | |
0010_auto_20160731_0023.py | Loading commit data... | |
0011_auto_20161101_2207.py | Loading commit data... | |
__init__.py | Loading commit data... |