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

Already on GitHub? Sign in to your account

Index creation fails on field.db_type() is None #1367

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

jarus commented Jul 18, 2013

Sometimes field.db_type doesn't return a value what should raise an index creation error. As example the GeoDjango Point field doesn't return a value in this state.

@jarus jarus Index creation fails on field.db_type() is None
Sometimes field.db_type doesn't return a value what should raise an index creation error.
535e519
Owner

timgraham commented Jul 18, 2013

Could you add a test that demonstrates the problem?

Contributor

jarus commented Jul 18, 2013

Do you mean a test in the Django Test Suite or another test?

Owner

timgraham commented Jul 18, 2013

Yes, the Django test suite. It's helpful to have regression tests for all bug fixes.

Contributor

jarus commented Jul 18, 2013

Okay. Do you know a place where I can put the regression test? It must be somewhere I can catch the Test DB creation.

Member

claudep commented Jul 20, 2013

See my comment on the ticket.

@claudep claudep closed this Jul 20, 2013

@jarus jarus deleted the jarus:patch-1 branch Jul 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment