Skip to content

ReferencesField verbose_name error #29

@igolkotek

Description

@igolkotek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions