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

Fix tests for Postgres9.3 #57

Merged
merged 1 commit into from
Jun 20, 2016
Merged

Fix tests for Postgres9.3 #57

merged 1 commit into from
Jun 20, 2016

Conversation

plumdog
Copy link
Contributor

@plumdog plumdog commented May 5, 2016

Postgres9.3 doesn't have jsonb and so is incompatible with Django's jsonb.JSONField.

This was meaning the tests wouldn't even run for me (Ubuntu 14.04), even though all except 2 passed without change - I've skipped those two if Postgres isn't new enough. It's slightly fiddly to get the Postgres version, but I think I've done it a reasonable way that will work for all/most modern Djangos.

Postgres9.3 doesn't have jsonb and so is incompatible with Django's
jsonb.JSONField.
@somewes somewes merged commit b2047d4 into ambitioninc:develop Jun 20, 2016
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.

None yet

2 participants