Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferencesField verbose_name error #29

Open
igolkotek opened this issue Dec 17, 2013 · 0 comments
Open

ReferencesField verbose_name error #29

igolkotek opened this issue Dec 17, 2013 · 0 comments

Comments

@igolkotek
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant