Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force OneToOne to be a ForeignKey on historical models #167

Merged
merged 1 commit into from
Apr 22, 2015

Conversation

macro1
Copy link
Collaborator

@macro1 macro1 commented Apr 21, 2015

OneToOneField is really persistent about being unique. We need to treat them as ForeignKeyField.

Fixes #166

@KevinGrahamFoster
Copy link
Contributor

Awesome, thanks! :)

@macro1 macro1 force-pushed the force-onetoone-to-foreignkey branch from dae2206 to 4d4727e Compare April 22, 2015 02:30
macro1 added a commit that referenced this pull request Apr 22, 2015
Force OneToOne to be a ForeignKey on historical models
@macro1 macro1 merged commit 601592a into master Apr 22, 2015
@macro1 macro1 deleted the force-onetoone-to-foreignkey branch May 4, 2015 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IntegrityError: Using Historical Records on an object that inherits from another non abstract object
2 participants