I am a complete newbie as far as version migrations are concerned, would really appreciate any kind of help(tutorials, personal experiences) to help me out here.
currently I am using Django 3.0.14 version and my app is working good. When I tried to install Django-Debug-toolbar it automatically updated django version to 3.2.16.
Now, when I run the app I am getting an error
File “C:\apps\venv\lib\site-packages\sql_server\pyodbc\compiler.py”, line 358, in compile
return super().compile(node, *args, **kwargs)
File “C:\apps\venv\lib\site-packages\django\db\models\sql\compiler.py”, line 445, in compile
sql, params = node.as_sql(self, self.connection)
File “C:\apps\venv\lib\site-packages\django\db\models\functions\datetime.py”, line 208, in as_sql
sql = connection.ops.date_trunc_sql(self.kind, inner_sql, tzname)
TypeError: date_trunc_sql() takes 3 positional arguments but 4 were given
Is there any possible solution to solve this error? or else do I need to install old Django version again.
Any tips/hints/suggestions or outright solutions are very much appreciated, otherwise, thanks for reading.