#343: One-to-one relations - different primary_key
------------------------+---------------------------------------------------
Reporter: Bless | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Metasystem | Version: SVN
Severity: normal | Resolution:
Keywords: One-to-one |
------------------------+---------------------------------------------------
Changes (by ubernostrum):
* severity: major => normal
* version: 1.0 => SVN
Comment:
The problem here is that `OneToOneField` inherits from `IntegerField`.
Fixing it will require changing that, and the question is whether to
inherit directly from `Field` as foreign keys do, or to inherit from
`ForeignKeyField` (since that's what it ends up being in the DB).
--
Ticket URL: <http://code.djangoproject.com/ticket/343>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates
-~----------~----~----~----~------~----~------~--~---