Cloud-CV / CloudCV-Old

CloudCV - Large-Scale Distributed Computer Vision As A Cloud Service
http://cloudcv.org
MIT License
51 stars 37 forks source link

`BooleanField` does not have a default value #22

Closed shivamMg closed 8 years ago

shivamMg commented 8 years ago

After I issue the migrate command I get the following warning:

System check identified some issues:

WARNINGS:
app.CloudCV_Users.is_active: (1_6.W002) BooleanField does not have a default value.
    HINT: Django 1.6 changed the default value of BooleanField from False to None. See https://docs.djangoproject.com/en/1.6/ref/models/fields/#booleanfield for more information.
app.RequestLog.isDropbox: (1_6.W002) BooleanField does not have a default value.
    HINT: Django 1.6 changed the default value of BooleanField from False to None. See https://docs.djangoproject.com/en/1.6/ref/models/fields/#booleanfield for more information.

A fix would be to provide default values to BooleanFields.

deshraj commented 8 years ago

@shivamMg we have changed the database models but they are not merged in the master branch. We are still working on it. What you can do is write the tests for the current views and then we can modify the tests in future whenever we shift.

deshraj commented 8 years ago

:+1: Closing it.

shivamMg commented 8 years ago

@DESHRAJ Looks like I saw this a little late. Alright I'm going to write the tests then.