r4fek / django-cassandra-engine

Django Cassandra Engine - the Cassandra backend for Django
BSD 2-Clause "Simplified" License
365 stars 84 forks source link

Update code to match Django 1.10.3 #84

Closed chripede closed 7 years ago

chripede commented 7 years ago

The property dont_use_model_field_default_for_empty_data is removed in Django 1.10.2 ->

This made it impossible to uncheck and save BooleanFields in forms.

See https://code.djangoproject.com/ticket/27433 for reference

r4fek commented 7 years ago

Hey @chripede!

Thanks for your PR. Looks like some tests are failing. Could you take a look?

r4fek commented 7 years ago

Awesome, thx!

chripede commented 7 years ago

@r4fek Sure. I've updated the Django requirement to ==1.10.3

It doesn't work with any version lower than 1.10.2 though, so not sure how to handle that.

r4fek commented 7 years ago

I'll try to fix this. Django 1.9 should be supported too.