django.core.exceptions.ValidationError ["'suspend' value must be either True or False."] -
i have been exploring django framework , awesome, kept on running errors managed solution on internet , on stack overflow
however got 1 error couldn't fix on own. need here
i above error when run
python manage.py migrate
otherwise, system works fine no errors. don't what's wrong
here error
operations perform: apply migrations: admin, auth, contenttypes, files, report_builder, sessions running migrations: applying files.0029_students_status...traceback (most recent call last): file "manage.py", line 22, in <module> execute_from_command_line(sys.argv) file "c:\python34\lib\site-packages\django\core\management\__init__.py", line 363, in execute_from_command_line utility.execute() file "c:\python34\lib\site-packages\django\core\management\__init__.py", line 355, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "c:\python34\lib\site-packages\django\core\management\base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) file "c:\python34\lib\site-packages\django\core\management\base.py", line 330, in execute output = self.handle(*args, **options) file "c:\python34\lib\site- packages\django\core\management\commands\migrate.py", line 204, in handle fake_initial=fake_initial, file "c:\python34\lib\site-packages\django\db\migrations\executor.py", line 115, in migrate state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) file "c:\python34\lib\site-packages\django\db\migrations\executor.py", line 145, in _migrate_all_forwards state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) file "c:\python34\lib\site-packages\django\db\migrations\executor.py", line 244, in apply_migration state = migration.apply(state, schema_editor) file "c:\python34\lib\site-packages\django\db\migrations\migration.py", line 129, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) file "c:\python34\lib\site-packages\django\db\migrations\operations\fields.py", line 87, in database_forwards field, file "c:\python34\lib\site-packages\django\db\backends\sqlite3\schema.py", line 238, in add_field self._remake_table(model, create_field=field) file "c:\python34\lib\site-packages\django\db\backends\sqlite3\schema.py", line 113, in _remake_table self.effective_default(create_field) file "c:\python34\lib\site-packages\django\db\backends\base\schema.py", line 229, in effective_default default = field.get_db_prep_save(default, self.connection) file "c:\python34\lib\site-packages\django\db\models\fields\__init__.py", line 770, in get_db_prep_save prepared=false) file "c:\python34\lib\site-packages\django\db\models\fields\__init__.py", line 762, in get_db_prep_value value = self.get_prep_value(value) file "c:\python34\lib\site-packages\django\db\models\fields\__init__.py", line 1043, in get_prep_value return self.to_python(value) file "c:\python34\lib\site-packages\django\db\models\fields\__init__.py", line 1036, in to_python params={'value': value},
i have no idea suspend coming from. , don't have field in models name suspend
django.core.exceptions.validationerror: ["'suspend' value must either true or false."]
Comments
Post a Comment