Added view to create source transformations, merged and normalized most source and source transformations views

This commit is contained in:
Roberto Rosario
2011-07-13 02:33:37 -04:00
parent d0da4daa93
commit 6fa40be524
6 changed files with 114 additions and 79 deletions

View File

@@ -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')