Commit Graph

21 Commits

Author SHA1 Message Date
Feanil Patel
6e3fe00fff Fix all E303 pep8 errors. 2019-12-30 12:25:38 -05:00
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
Waheed Ahmed
23bc5af0fc Fix course:org link creation upon rerun.
Upon rerun creation from publisher course:organization link
was not creating, due to which org logo was not appearing on
course certificates.

Fixed by creating course:org link upon rerun.

PROD-125
2019-08-05 13:48:50 +05:00
Dillon Dumesnil
e5fbfb02c6 DISCO-1222: Allow switching course numbers for reruns
Adds in tests for the new functionality while maintaining the old Validation Error message
2019-07-31 10:42:09 -04:00
aarif
e39485d94d ran python-modernize and isort on files mentioned in INCR-343
changes made to comply with quality
2019-07-16 11:54:40 +00:00
Ayub
1a9648a07e Revert "ran python-modernize and isort on files mentioned in INCR-343 (#21014)"
This reverts commit 87e58c86cc.
2019-07-15 16:44:13 +05:00
Aarif
87e58c86cc ran python-modernize and isort on files mentioned in INCR-343 (#21014) 2019-07-15 14:39:27 +05:00
Matthew Piatetsky
7df30938c4 fix unicode strings in cms/ 2019-02-04 13:01:51 -05:00
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
rabia23
f65195c0ed EDUCATOR-2231 remove course run enrollment dates references from studio 2018-03-05 11:27:22 +00:00
Awais Jibran
1e16bfd936 On course run create request, validate course team user and raise validation error 2018-02-01 14:17:35 +05:00
Asad Azam
1f5134b5ef Fixed multiple CourseAccessRole error on publish 2017-12-28 15:42:41 +05:00
Clinton Blackburn
8a5782eb6e Updated Studio API to expose course run pacing type
The pacing type can now be read and updated.

EDUCATOR-1464
2017-10-04 10:16:45 -04:00
Clinton Blackburn
f4c08bbca1 Fixed Studio API bug with course team updates
The org field is now set on the CourseAccessRole object, since Studio expects that value to be present.

LEARNER-2469
2017-10-03 11:38:38 -04:00
Clinton Blackburn
0334df1eb3 Fixed bug with Studio API course run team update endpoint
We now iterate over the given team members and create them individually, rather than in bulk. This avoids uniqueness errors that arise when we attempt a bulk create operation with an existing row.

LEARNER-2468
2017-09-28 12:24:23 -04:00
Clinton Blackburn
7d51c194a3 Updated Studio course run API endpoint to allow null enrollment dates
LEARNER-2469
2017-09-27 09:43:07 -04:00
Clinton Blackburn
4b9f017d4a Fixed bug for partial updates for Studio API course runs endpoint
Existing data remains intact when performing a partial update.

LEARNER-2468
2017-09-13 18:05:21 -04:00
Clinton Blackburn
f25674a606 Added pagination to Studio API course runs list endpoint
The viewset class has also been updated to inherit from GenericViewSet to better take advantage of existing DRF code.

LEARNER-2468
2017-09-13 16:39:05 -04:00
Clinton Blackburn
14b8c12e88 Added Studio API endpoint to update course image
LEARNER-2468
2017-09-13 11:22:47 -04:00
Clinton Blackburn
317f719d3c Added Studio API endpoint to re-run course runs
LEARNER-2470
2017-09-13 11:22:47 -04:00
Clinton Blackburn
256849950d Added Studio API endpoint to support course creation
LEARNER-2468
2017-09-13 11:22:47 -04:00