product category in admin almost fixed
This commit is contained in:
@@ -10,5 +10,5 @@ class ProductTagForm(forms.ModelForm):
|
|||||||
model = Product
|
model = Product
|
||||||
fields = ('__all__')
|
fields = ('__all__')
|
||||||
widgets = {
|
widgets = {
|
||||||
'category': autocomplete.ListSelect2(url='category-autocomplete')
|
'category': autocomplete.TagSelect2(url='category-autocomplete')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user