Fix ensemble reference
This commit is contained in:
parent
039b440a57
commit
5fb5138383
3
Makefile
3
Makefile
@ -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/
|
||||
@ -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()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user