Tentando acabar este curso de Django (muitooooo ultrapassado, tendo que dar dow em tudo para fazer) Ao entrar nesta aula e semelhante ao colega , ao configurar a nova classe, segue abaixo. ''' class Perfil(models.Model):
nome = models.CharField(max_length = 255, null = false)
email = models.CharField(max_length = 255, null = false)
telefone = models.CharField(max_length = 255, null = false)
nome_empresa = models.CharField(max_length = 255, null = false)
''' A partir daí o servidor não roda mais e não conseguimos usar o migrations. , ficaria feliz com a ajuda , desde já agradeço.
Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 385, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 354, in execute django.setup() File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 21, in setup apps.populate(settings.INSTALLED_APPS) File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 202, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/home/luis/Projects/Django/connectedin/perfis/models.py", line 3, in class Perfil(models.Model): File "/home/luis/Projects/Django/connectedin/perfis/models.py", line 5, in Perfil nome = models.CharField(max_length = 255, null = false) NameError: name 'false' is not defined