This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Promise from 'promise-polyfill'; | |
| window.Promise = window.Promise || Promise; | |
| import axios from 'axios'; | |
| import qs from 'qs'; | |
| const DJANGO_DEFAULTS = { | |
| xsrfCookieName: 'csrftoken', | |
| xsrfHeaderName: 'X-CSRFToken', | |
| headers: { |