You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried your hstore field and found the following:
when assigning verbose_name to a ReferencesField
on manage.py validate I get the following error:
File "../models.py", line 129, in Info
subcategory = ReferencesField(Category, verbose_name=_(u"Subcats"), blank=True, null=True)
File "/usr/local/lib/python2.7/dist-packages/djorm_hstore/fields.py", line 63, in init
super(HStoreField, self).init(_args, *_kwargs)
TypeError: init() got multiple values for keyword argument 'verbose_name'
At the same time verbose name in DictionaryField works OK.
Sure, it's not a serious issue, but anyway.. )
Thanks!
aia
The text was updated successfully, but these errors were encountered:
Hi, Andrey, thank you for your valuable efforts,
I tried your hstore field and found the following:
when assigning verbose_name to a ReferencesField
on manage.py validate I get the following error:
File "../models.py", line 129, in Info
subcategory = ReferencesField(Category, verbose_name=_(u"Subcats"), blank=True, null=True)
File "/usr/local/lib/python2.7/dist-packages/djorm_hstore/fields.py", line 63, in init
super(HStoreField, self).init(_args, *_kwargs)
TypeError: init() got multiple values for keyword argument 'verbose_name'
At the same time verbose name in DictionaryField works OK.
Sure, it's not a serious issue, but anyway.. )
Thanks!
aia
The text was updated successfully, but these errors were encountered: