palewire / django-calaccess-campaign-browser

A Django app to refine, review and republish campaign finance data drawn from the California Secretary of State’s CAL-ACCESS database
http://django-calaccess-campaign-browser.californiacivicdata.org
MIT License
17 stars 12 forks source link

Python 3 support and testing #149

Open palewire opened 9 years ago

myshkin commented 9 years ago

I first started installing with Python 3, but MySQL-python does not yet work with Python 3. The Django 1.7 docs mention a couple alternatives I have not yet tried: mysqlclient (recommended) and MySQL Connector/Python. I found a blog post documenting a successful use of the latter.

palewire commented 9 years ago

Good observation. If mysqlclient is recommended by Django, it's good enough for me. I'll try to snap that in to Python 2 to see if it disturbs anything.