]> git.parisson.com Git - telemeta.git/commitdiff
fix form_class
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Oct 2014 23:02:02 +0000 (01:02 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 13 Oct 2014 23:02:02 +0000 (01:02 +0200)
telemeta/views/item.py

index f43448980b08aeaf71d64bc24823419d8b5ebdc7..ea912fc7528c1971ecc641c3478ee269377f4d88 100644 (file)
@@ -711,7 +711,7 @@ class ItemViewMixin(ItemBaseMixin):
 
 class ItemEditView(ItemViewMixin, UpdateWithInlinesView):
 
-    form = MediaItemForm
+    form_class = MediaItemForm
     template_name = 'telemeta/mediaitem_edit.html'
     inlines = [ItemRelatedInline, ItemPerformanceInline, ItemKeywordInline, ItemFormatInline]