Skip to content

Bigint AutoField (fixes #56, #13774) #62

Closed
wants to merge 1 commit into from

2 participants

@pzinovkin

Alternative approach to fix ticket 56.
Based on discussion #49
This approach doesn't change AutoField behavior. Only those who need extended int range may use it.
It keeps values ranges consistent between databases. Also it works nice with related fields.

@akaariai
Django member

To me it seems this needs some tests, mainly one for checking that the foreign key to a bigautofield is created properly as bigint. As per the policy of "commit or close when reviewing" I am closing this pull request.

@akaariai akaariai closed this Jul 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.