Commit Graph

6 Commits

Author SHA1 Message Date
mprahl
af9505b0e1 Rearrange the imports to meet the style guide
This also includes `from __future__ import absolute_import`
in every file so that the imports are consistent in Python 2 and 3.
The Python 2 tests fail without this.
2020-01-16 14:39:46 -05:00
mprahl
63baaf9213 Move models.py to common/models.py and views.py to web/views.py 2020-01-16 14:39:46 -05:00
mprahl
5f27e4359f Move errors.py to common/errors.py 2020-01-16 14:39:46 -05:00
mprahl
46dcb2c236 Move db_session.py to scheduler/db_session.py 2020-01-16 14:39:46 -05:00
mprahl
e0fa2371eb Move config.py to common/config.py 2020-01-16 14:39:46 -05:00
mprahl
ee3ca47c69 Split utils/submit.py
This moves the code used by the backend and API to common/submit.py,
the code used just by the API to web/submit.py, and the code used
just by the backend to scheduler/submit.py.
2020-01-16 14:39:46 -05:00