opennorth / represent-canada

Point or postcode to electoral district service for Canada, its provinces and municipalities
http://represent.opennorth.ca/
MIT License
65 stars 9 forks source link

Upgrading Django #106

Closed jpmckinney closed 7 years ago

jpmckinney commented 7 years ago

PostgreSQL >= 9.4 would allow us to drop jsonfield

Also, grep for Django.* \d\. across all projects when upgrading Django for notes on things to update.

michaelmulley commented 7 years ago

Pull request #107 does this upgrade.

I've updated READMEs in represent-canada but have not done so or grepped in other projects.

Re dropping jsonfield, note that the builtin Django JSONField uses Postgres' native JSON datatype, which would involve a data migration and is probably not necessary (while database-level integrity checking is always nice, we don't otherwise care where Postgres can interpret the JSON data or just treats it as a blob of text).

jpmckinney commented 7 years ago

I thought that might be the case. We'll keep jsonfield then.

I've gone through all other repos.