from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Knight(models.Model):
    name = models.CharField(max_length=63)
    traitor = models.BooleanField()

    def __str__(self):
        return self.name

from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Knight(models.Model):
    name = models.CharField(max_length=63)
    traitor = models.BooleanField(default=False)

    def __str__(self):
        return self.name

Add False default to traitor BooleanField.
Add False default to traitor BooleanField.

  from __future__ import unicode_literals
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
  
  
  @python_2_unicode_compatible
  class Knight(models.Model):
      name = models.CharField(max_length=63)
-     traitor = models.BooleanField()
+     traitor = models.BooleanField(default=False)
  
      def __str__(self):
          return self.name
  
Add False default to traitor BooleanField.
## Code Before:
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Knight(models.Model):
    name = models.CharField(max_length=63)
    traitor = models.BooleanField()

    def __str__(self):
        return self.name

## Instruction:
Add False default to traitor BooleanField.
## Code After:
from __future__ import unicode_literals
from django.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Knight(models.Model):
    name = models.CharField(max_length=63)
    traitor = models.BooleanField(default=False)

    def __str__(self):
        return self.name
