On Tue, Jul 20, 2010 at 9:56 PM, Andy <[email protected]> wrote:

> Normally I'd need to type out the model definitions for those N models
> by hand inside models.py.
>
> Is there a way to generate the N model definitions programatically
> instead of manually?
>
>
Did you try creating an abstract model, and have the rest of the N models
inherit form the abstract models, you save yourself some typing
http://docs.djangoproject.com/en/dev/topics/db/models/#id6

Or that's not good enough?

-- 
Ale.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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