> My question is how does django get the field names for the DB. Does it
> do some type of reflection on People class?

Yep - It just looks for Field instances in the model's class dict. You
can do this pretty easily using a python metaclass.

SH


--~--~---------~--~----~------------~-------~--~----~
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