I'm not quite up to date on XML in databases (I've never had to use XML in a database), but don't the majority of core backends support XML in some way? If so, I'd probably like to see an attempt to build out XML support such that all/most core databases could benefit from the new feature, rather than being locked away in contrib.postgres.
So, to answer your questions: Is this a project that; a) would be accepted - Probably, if someone were to implement it and drive it until quality was acceptable b) would be fairly straight forward and - I'm not sure how straightforward it would be. The addition of Lookups and Transforms will help tremendously though. c) would be useful to the wider community? - Not for me personally, but I'm sure there'd be others that would find good use for XML support. Hopefully we can get some more feedback to accurately determine that though. Cheers, On Sunday, 28 June 2015 11:19:08 UTC+10, Some Developer wrote: > > Hi, > > I'm a long term Django user but have never contributed to the main > Django code base mainly because I haven't really needed any extra > features. Until now. > > I only use PostgreSQL as my database and the recent addition of > django.contrib.postgresql got me thinking about other features of > PostgreSQL that could be added to the Django code base that would be > very useful for me and probably others. > > Those features are PostgreSQLs built in support for the XML data type. > These could be supported in Django with the addition of an XMLField. > Because PostgreSQL supports querying the XML data directly some > additions would have to be made to support these operations in the ORM > (I think at least). > > I've just checked out the latest Django source code and notice that > there is a jsonb.py file in the django.contrib.postgres.fields package > which I assume will support JSON in PostgreSQL in version 1.9. I'd like > to do the same thing but with the XML data type. > > Is this a project that a) would be accepted b) would be fairly straight > forward and c) would be useful to the wider community? JSON is great and > all but XML still has its uses in the world (I'm one of those people who > prefer JSON but XML just offers more for the project that I am working > on). > > So thoughts? > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/d806737b-ab1d-44df-81e4-9e3c9d6a47a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
