-
Notifications
You must be signed in to change notification settings - Fork 27
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
migrate to Django 1.8 #31
Comments
@paultag latest commit tries to use 1.8 but doesn't make these changes |
Ach, duh, right, we had a release of Django |
I'm implementing some filter adjustment things in imago that will query array fields, but I don't think the syntax is different between django.contrib.postgres and djorm_pgarray. At least And here is some unsolicited input: I used ArrayField in a project and set There is also a django.contrib.postgres UUIDField that could possibly replace uuidfield.UUIDField. |
if we migrate off UUIDField and ArrayField I think we'd need to delete the migrations and start fresh, there's not a clean way to do this since the UUID is the PK. would that be problematic for either one or is now the time to do so? migration to django's internal JSONfield would be a separate issue, still looking into that but I'd actually probably suggest dropping the existing JSONfield for now and then re-adding it when we have a working JSONB implementation. |
Resetting the DB sounds OK; what's the underlying storage type of UUIDField On Tue, May 19, 2015 at 12:31 PM, James Turk notifications@github.com
Paul Tagliamonte |
old was a varchar(32) new is the postgres UUID type https://github.com/opencivicdata/python-opencivicdata-django/tree/django1.8-nouuid |
thoughts on how we want to handle the JSON type? |
Sounds like we'll have to rebuild the DB; might as well do it once -- On Tue, May 19, 2015 at 1:24 PM, James Turk notifications@github.com
Paul Tagliamonte |
ready for review in #42 |
one better, 0.7.x will go straight to 1.9 |
the pinned Django version is currently the RC of 1.7, with 1.8's release it is probably time to address that (if this takes longer than expected we should at least move to 1.7.7)
Right now I have a branch @ https://github.com/opencivicdata/python-opencivicdata-django/tree/django1.8
Three outstanding questions on the ArrayField front:
The text was updated successfully, but these errors were encountered: