No Windows, logo após criar um venv, ativá-lo, instalar o requirements.txt com a versão mais atual do typed-ast==1.5.5, rodar makemigrations tento rodar o migrate (2x) e resulta no seguinte erro:
(venv) PS C:\GitHub\fenix\python_django_drf_clientes-master> python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, clientes, contenttypes, sessions
Running migrations:
No migrations to apply.
Traceback (most recent call last):
File "C:\GitHub\fenix\python_django_drf_clientes-master\manage.py", line 22, in <module>
main()
File "C:\GitHub\fenix\python_django_drf_clientes-master\manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
utility.execute()
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\core\management\__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\core\management\base.py", line 341, in run_from_argv
connections.close_all()
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\db\utils.py", line 230, in close_all
connection.close()
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\utils\asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\db\backends\sqlite3\base.py", line 261, in close
if not self.is_in_memory_db():
^^^^^^^^^^^^^^^^^^^^^^
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\db\backends\sqlite3\base.py", line 380, in is_in_memory_db
return self.creation.is_in_memory_db(self.settings_dict['NAME'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\GitHub\fenix\python_django_drf_clientes-master\venv\Lib\site-packages\django\db\backends\sqlite3\creation.py", line 12, in is_in_memory_db
return database_name == ':memory:' or 'mode=memory' in database_name
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'WindowsPath' is not iterable