Hi,
I need to be able to use models like this:
class Xlwzl(models.Model):
xl = IntegerField(primary_key=True)
wzl = IntegerField(primary_key=True)
(they are actually ForeignKeys, but this probably doesn't matter.
This is probably also a good start for ManyToManyFields with an
association object.)
Now, I heard it's probably not too difficult to add this, and I
already did a little bit meta class hacking with Django. Any joint
efforts or hints on what will need to be done would be greatly
appreciated ;-)
I immediately see these areas:
- table creation (SQL)
- automatic manipulators (loading the object in the
ChangeManipulator, pk handling in the AddManipulator)
- comparation
- access by "pk" - probably by a tuple or a dict?
- in_bulk
Might take a month or so (well, it's not my only task) I'll probably
put up a page in the Django wiki during this.
Comments?
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" 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-developers
-~----------~----~----~----~------~----~------~--~---