Use django file storage URLs for all course export downloads.

Description

Uses django storage to provide the downloadable course export file size.

Fixes bug with course exports where OpenStack SWIFT is the default django storage.

*JIRA tickets*: OC-3079, OSPR

*Sandbox URL*:

*Merge deadline*: None

*Testing instructions*:

Perform these steps on both the OpenStack sandbox and your local devstack to ensure that using the generic django storage URL works for both types. No change has been made to AWS storage.

1. Create a new course in Studio.
1. Export the course. Ensure you can download the course zip file.
1. Add some content to the course.
1. Import the previously-exported zip file. Ensure that is successful, and overrides the content added in the previous step.

*Author notes and concerns*:

I can spin up an AWS sandbox if testing is required there.

*Reviewers*

  • [ ] @clemente

  • [ ] edX reviewer[s] TBD

Done

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Contributor Name

Jillian Vogel

Repo

edx/edx-platform

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

None

Github Lines Deleted

None

Priority

Unset