The XML files are all configuration files, storing things like boolean configuration flags, timeout values, username/passwords, IP addresses and ports etc.
Some of them will maps somewhat logically to the relational model - for example, they'll be a configuration for an application, as well as each of it's sub-modules, as well as usernames/passwords linked to the application etc.
I've included three example XSD files - hopefully that will give you a better idea.
The reason we're using Django is I was hoping to leverage off the Django-admin, as well as Django forms, if need be, to provide an easy interface to edit the files, and enforce some validation rules (many of which aren't really contained in the XML/XSD files).
And the other issue is the configuration format may change over time, so we'll need to keep the models.py up-to-date, not sure of the best way to do that.
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/-/s3td-Oy5jG8J.
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