File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -68,25 +68,17 @@ class EmailTargetableConfigurationInline(StackedPolymorphicInline.Child):
68
68
def display (self , obj ):
69
69
return "Enabled"
70
70
71
- class BaseAssetInline (StackedPolymorphicInline .Child ):
72
-
73
- def get_readonly_fields (self , request , obj = None ):
74
- fields = list (super ().get_readonly_fields (request , obj ))
75
- if obj :
76
- fields .extend (["internal_name" , "related_to" ])
77
- return fields
78
-
79
- class RequiredImgAssetConfigurationInline (BaseAssetInline ):
71
+ class RequiredImgAssetConfigurationInline (StackedPolymorphicInline .Child ):
80
72
model = RequiredImgAssetConfiguration
81
73
form = RequiredImgAssetConfigurationForm
82
74
83
- class RequiredTextAssetConfigurationInline (BaseAssetInline ):
75
+ class RequiredTextAssetConfigurationInline (StackedPolymorphicInline . Child ):
84
76
model = RequiredTextAssetConfiguration
85
77
86
- class ProvidedTextAssetConfigurationInline (BaseAssetInline ):
78
+ class ProvidedTextAssetConfigurationInline (StackedPolymorphicInline . Child ):
87
79
model = ProvidedTextAssetConfiguration
88
80
89
- class ProvidedFileAssetConfigurationInline (BaseAssetInline ):
81
+ class ProvidedFileAssetConfigurationInline (StackedPolymorphicInline . Child ):
90
82
model = ProvidedFileAssetConfiguration
91
83
92
84
model = BenefitFeatureConfiguration
You can’t perform that action at this time.
0 commit comments