Silly fix

This commit is contained in:
Tris Forster 2023-02-20 10:31:56 +11:00
parent e74043ae67
commit da15eebb0a

View File

@ -227,7 +227,7 @@ class WorkAddView(CollectionMixin, FormView):
return redirect('work_detail', collection=self.collection.pk, pk=work.pk) return redirect('work_detail', collection=self.collection.pk, pk=work.pk)
class WorkDetailView(CollectionMixin, DetailView): class WorkDetailView(CollectionMixin, DetailView):
pass model = models.Work
class WorkUpdateView(CollectionMixin, UpdateView): class WorkUpdateView(CollectionMixin, UpdateView):
#fields = ['name', 'composer', 'edition', 'code', 'orchestration', 'licence', 'max_projects', 'running_time', 'notes'] #fields = ['name', 'composer', 'edition', 'code', 'orchestration', 'licence', 'max_projects', 'running_time', 'notes']