Save new object before attaching to a collection
authorDiane Trout <diane@ghic.org>
Thu, 2 Jun 2016 20:44:27 +0000 (13:44 -0700)
committerDiane Trout <diane@ghic.org>
Fri, 24 Jun 2016 22:55:58 +0000 (15:55 -0700)
commit4ae3d92c9ff1767502f338c53ed409af13c99c00
tree69e432df62ac72c02e0c46ed4874a6e1814b207a
parentec45e54f3c068de191428e7e1b97f31ffe71b016
Save new object before attaching to a collection

Django tests were throwing warning about the newfile object not being
saved when I added it to the datafile_set collection.
experiments/models.py