On Thu, Jun 12, 2008 at 11:41 AM, Jean-Christophe Kermagoret
<[EMAIL PROTECTED]> wrote:
>
> I need this meta model to generate automatically django code from models.

You need a model to generate models? I don't really get what you mean.

> If there is no meta model, is there presently some code which would
> permit to have code automatically generated from xml (or kind of
> properties files) ?

There's definitely code that can create models based on any arbitrary
information you like, whether it comes from XML configurations,
database records, whatever. Check out a Wiki article[1] I wrote about
it some time ago for more information. It's not really a
Django-specific feature, though. Any new-style Python class can be
created this way. It just so happens that Django uses Python classes,
so it all works out.

I don't know if that's what you're looking for, but if that article
doesn't answer your question, feel free to provide more information
about what you're trying to do.

-Gul

[1] http://code.djangoproject.com/wiki/DynamicModels

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to