Skip to content

using it with forms #14

Description

@AlexProfi

Hello I try ti ose it with modelforms and get error

python2.7/site-packages/django/forms/models.py", line 277, in __new__
    raise FieldError(message)
django.core.exceptions.FieldError: Unknown field(s) (surname,

this is models.py
surname = xml_models.CharField(max_length=32, verbose_name=u'Фамилия', db_index=True, xpath='surname')

how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions