Added view to create source transformations, merged and normalized most source and source transformations views
This commit is contained in:
@@ -95,3 +95,9 @@ class SourceTransformationForm(forms.ModelForm):
|
||||
super(SourceTransformationForm, self).__init__(*args, **kwargs)
|
||||
self.fields['content_type'].widget = forms.HiddenInput()
|
||||
self.fields['object_id'].widget = forms.HiddenInput()
|
||||
|
||||
|
||||
class SourceTransformationForm_create(forms.ModelForm):
|
||||
class Meta:
|
||||
model = SourceTransformation
|
||||
exclude = ('content_type', 'object_id')
|
||||
|
||||
Reference in New Issue
Block a user