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