Error executing python manage.py runserver:
Virtual env python 3.7.0 or 3.6.6 django 2.1.1 or 2.0
System check identified no issues (0 silenced).
Unhandled exception in thread started by .wrapper at 0x000001BC0DC7FF28 >
Traceback (most recent call last):
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ utils \ autoreload.py", line 225, in wrapper
fn (* args, ** kwargs)
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ core \ management \ commands \ runserver.py", line 123, in inner_run
self.check_migrations ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ core \ management \ base.py", line 427, in check_migrations
executor = MigrationExecutor (connections [DEFAULT_DB_ALIAS])
C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ migrations \ executor.py ", line 18, in init
self.loader = MigrationLoader (self.connection)
C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ migrations \ loader.py ", line 49, in init
self.build_graph ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ migrations \ loader.py", line 206, in build_graph
self.applied_migrations = recorder.applied_migrations ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ migrations \ recorder.py", line 61, in applied_migrations
if self.has_table ():
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ migrations \ recorder.py", line 44, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names (self.connection.cursor ())
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ backends \ base \ base.py", line 255, in cursor
return self._cursor ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ backends \ base \ base.py", line 232, in _cursor
self.ensure_connection ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ backends \ base \ base.py", line 216, in ensure_connection
self.connect ()
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ backends \ base \ base.py", line 194, in connect
self.connection = self.get_new_connection (conn_params)
File "C: \ Projects \ venv36 \ lib \ site-packages \ django \ db \ backends \ sqlite3 \ base.py", line 162, in get_new_connection
conn = Database.connect (** conn_params)
TypeError: 'sslmode' is an invalid keyword argument for this function