Thursday, December 1, 2011

Django

Hi,

I'm writing a  Django application to mange some XML configuration files through the Django-admin.

Currently, I'm converting the XML values/hierarchies into Django models.

After this, we also need to code an import - to import in configuration files and populate Django models based on them, and also an export, to export from our Django models back into the finished XML configuration files.

However, another way might be just to inspect the XSD files we have, and try to create the models from that.

I know there's django-models-schemas (https://bitbucket.org/eegg/django-model-schemas/wiki/Home), that is meant to generate XSD files from Django models. I'm not aware of anything going the other way (introspecting XSD files to get Django models).

However, what are your thoughts on this?

Is there an easier way of achieving the main goal - editing XMl configuration files through a Django interface? Things I should be aware of?

Cheers,
Victor

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/iWVmPfYsrOQJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment