Skip to content

Fixed #21097 - Added DatabaseFeature.can_introspect_autofield #1621

Closed
wants to merge 1 commit into from

3 participants

@manfre
manfre commented Sep 12, 2013

None of the core backends currently support can_introspect_autofield.

@akaariai
Django member

The patch looks good to me, although I can't test this currently.

@timgraham
Django member

My only question is whether or not any of our existing backends could/should be able to inspect AutoField?

@manfre
manfre commented Sep 12, 2013

Many of them certainly could, but whether they will is an exercise for someone who uses and is willing to submit a patch for a given backend. If anyone feels inclined to add this new functionality to a core backend, that can always happen as a separate commit.

The scope of this ticket/pull request is small and intended to only make it possible for a backend to inspect AutoField.

@akaariai
Django member

Merged manually. If somebody wants to add AutoField inspection support for other databases then open another ticket for that.

@akaariai akaariai closed this Sep 14, 2013
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.