Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Nimisha Asthagiri
9bbc21ea8c
Python 3: multi-lined assertIn, assertNotIn -> assertContains, assertNotContains
2019-09-30 08:51:02 -04:00
Nimisha Asthagiri
a6b219a9e9
Python-3: assertIn(..response.content) -> assertContains
2019-09-30 08:50:38 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
amitvadhel
56a8b440af
Line too long fix
2019-09-05 14:35:51 +03:00
amitvadhel
8ee3dd4959
[Fix] BulkEnrollmentTest (make zip_longest compatible with Python2 and 3)
2019-09-04 00:06:39 +03:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Stu Young
760743cca2
INCR-294 Run python-modernize on lms/djangoapps/bulk_enroll ( #20601 )
...
* run python modernize
* run isort
* Fix python
2019-05-21 11:45:40 -04:00
Diana Huang
4a61e6bb70
Remove references to microsites in bulk enroll.
2019-04-22 09:25:39 -04:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
afzaledx
2238843286
Add cohorts to BulkEnroll endpoint.
2018-11-08 09:23:07 +10:30
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Brandon DeRosier
1990dc7fd8
Patch the bulk_enroll request to use a form content type
...
Setting the content type to be form data makes Django Rest Framework v3.6.3 treat all passed JSON data as
POST parameters. This is necessary because this request is forwarded on to the student_update_enrollment
view, which requires all of the parameters to be passed in via POST parameters.
2017-07-20 17:56:56 -04:00
Brandon DeRosier
43e161f66b
Fix the BulkEnrollSerializer courses field to internally behave with strings and lists
2017-07-14 19:17:16 -04:00
Brandon DeRosier
a31855c935
Upstream the Bulk Enroll API endpoint
2017-07-14 14:01:16 -04:00