Previously, I moved some assumptions out of class contstants and into code, in `start_workflow()`. Turns out, it's also possible to load a model from the database, which bypasses this check and fails to fill out self.STATUS properly. Refactoring so that `include_staff_in_class()` gets called in both cases.
Name |
Last commit
|
Last update |
---|---|---|
.tx | Loading commit data... | |
conf | Loading commit data... | |
logs | Loading commit data... | |
openassessment | Loading commit data... | |
requirements | Loading commit data... | |
scripts | Loading commit data... | |
settings | Loading commit data... | |
storage | Loading commit data... | |
test | Loading commit data... | |
.coveragerc | Loading commit data... | |
.gitignore | Loading commit data... | |
.jscsrc | Loading commit data... | |
.jshintrc | Loading commit data... | |
.travis.yml | Loading commit data... | |
AUTHORS | Loading commit data... | |
LICENSE | Loading commit data... | |
MANIFEST.in | Loading commit data... | |
Makefile | Loading commit data... | |
README.rst | Loading commit data... | |
Vagrantfile | Loading commit data... | |
apt-packages.txt | Loading commit data... | |
karma.conf.js | Loading commit data... | |
manage.py | Loading commit data... | |
package.json | Loading commit data... | |
setup.py | Loading commit data... | |
urls.py | Loading commit data... |