class Human(models.Model):
name = models.CharField(max_length=100)
surname = models.CharField(max_length=100)
date_birth = models.DateField()
place_residence = models.CharField(max_length=200)
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2023.1\plugins\python\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm 2023.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'django'
name = models.CharField(max_length=100)
surname = models.CharField(max_length=100)
date_birth = models.DateField()
place_residence = models.CharField(max_length=200)
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2023.1\plugins\python\helpers\pydev\pydevconsole.py", line 364, in runcode
coro = func()
File "<input>", line 1, in <module>
File "C:\Program Files\JetBrains\PyCharm 2023.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'django'