Fix ensemble reference

This commit is contained in:
Tris Forster 2023-02-20 07:56:53 +11:00
parent 039b440a57
commit 5fb5138383
2 changed files with 1 additions and 4 deletions

View File

@ -35,6 +35,3 @@ start_s3_storage:
stop_s3_storage:
kill `cat teststore/pid` | true
rm teststore/pid
sync_tanglefoot:
scp dev_db.sqlite3 tris@tanglefoot:src/polyphonic/

View File

@ -204,7 +204,7 @@ class WorkAddView(CollectionMixin, FormView):
def form_valid(self, form):
work = form.save(commit=False)
work.ensemble_id = self.request.ensemble_id
#work.ensemble_id = self.request.ensemble_id
work.collection_id = self.kwargs['pk']
work.save()