nice image selection from library 2
This commit is contained in:
parent
7e46dc71ec
commit
2c217939b0
3 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@ class ArticleAdminForm(forms.ModelForm):
|
||||||
model = Article
|
model = Article
|
||||||
fields = "__all__"
|
fields = "__all__"
|
||||||
widgets = {
|
widgets = {
|
||||||
'image_library': ImageLibraryWidget(),
|
"image_library": ImageLibraryWidget(),
|
||||||
}
|
}
|
||||||
|
|
||||||
def clean_title(self):
|
def clean_title(self):
|
||||||
|
|
|
@ -18,7 +18,7 @@ class CloudProviderAdminForm(forms.ModelForm):
|
||||||
model = CloudProvider
|
model = CloudProvider
|
||||||
fields = "__all__"
|
fields = "__all__"
|
||||||
widgets = {
|
widgets = {
|
||||||
'image_library': ImageLibraryWidget(),
|
"image_library": ImageLibraryWidget(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ class ConsultingPartnerAdminForm(forms.ModelForm):
|
||||||
model = ConsultingPartner
|
model = ConsultingPartner
|
||||||
fields = "__all__"
|
fields = "__all__"
|
||||||
widgets = {
|
widgets = {
|
||||||
'image_library': ImageLibraryWidget(),
|
"image_library": ImageLibraryWidget(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ class ServiceAdminForm(forms.ModelForm):
|
||||||
model = Service
|
model = Service
|
||||||
fields = "__all__"
|
fields = "__all__"
|
||||||
widgets = {
|
widgets = {
|
||||||
'image_library': ImageLibraryWidget(),
|
"image_library": ImageLibraryWidget(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue