django-xml icon indicating copy to clipboard operation
django-xml copied to clipboard

A python module which provides an abstraction to lxml's XPath and XSLT functionality in a manner resembling django database models.

Results 5 django-xml issues
Sort by recently updated
recently updated
newest added

As of django 4 `force_text` has been removed and `force_str`(exists in django 2.2) is used.

The method signature for `subclass_exception` now requires the `attached_to` positional argument starting in Django 2.1+.

**Note**: This is a proposal. We could discuss this and if you will, you could help me to test better this change. The `__repr__` implementation on class `XmlModel` uses the...

[This line](https://github.com/theatlantic/django-xml/blob/da6bc0dd30bca76fcdb3124f3c475a63e857d765/djxml/xmlmodels/fields.py#L322) is causing an XPathTextField to receive the value `'None'` (where `type('None') == str`) for empty XML elements. This is happening because `force_unicode` (or [force_text](https://docs.djangoproject.com/en/1.10/ref/utils/#django.utils.encoding.force_text) in my case as...

Thanks a lot for the django-xml, it is pretty nice to work for XML files. and I have 2 questions when keep me in trouble for several weeks, could you...