Is there an existing library to generate CSDL documents (optionally wrapped in EDMX) from Django models? The end goal is for use in an OData provider.
CSDL: http://www.odata.org/media/30002/OData%20CSDL%20Definition.html#csdl12.1
Example: http://msdn.microsoft.com/en-us/library/dd541140(v=prot.10).aspx
This is probably not much help to you now, but for posterity, you could look at the Pyslet Odata2 Python module. The author discusses using it with Django here