Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migrations | ||
tests | ||
__init__.py | ||
admin.py | ||
api.py | ||
models.py | ||
serializers.py | ||
submissions.html | ||
urls.py | ||
views.py |
Previous methods of "deleting state" for a student had just issued reset scores, so the (unscored) submission was still hanging around. With this change, the submission can be "deleted" for all django- relevant purposes, while still remaining in the database in case it turns out to be interesting to analytics later. Includes a migration that may take some time to run, and will acquire a table lock. This will cause an outage for any other request trying to hit the submissions table during the migration. We've estimated the outage to last approximately 3 minutes on a database with 700,000 rows. Test also included.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migrations | Loading commit data... | |
tests | Loading commit data... | |
__init__.py | Loading commit data... | |
admin.py | Loading commit data... | |
api.py | Loading commit data... | |
models.py | Loading commit data... | |
serializers.py | Loading commit data... | |
submissions.html | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... |