Hi, I am new to PythonAnywhere and I was trying to deploy my site and although it was working perfectly fine on the local host, I keep seeing a lot of errors in the server log and none of my pages can be viewed. Such as
2023-04-10 09:00:40 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:40 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:43 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:44 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:48 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:49 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
2023-04-10 09:00:49 Internal Server Error: /physics#012Traceback (most recent call last):#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner#012 response = get_response(request)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response#012 response = wrapped_callback(request, *callback_args, **callback_kwargs)#012 File "/home/GautamDas/STOREFRONT/Django-PythonAnywhere/playground/views.py", line 287, in homepage_view_physics#012 return render(request, 'PhyHomePage.html', {'quote': quotes[int]})#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/shortcuts.py", line 24, in render#012 content = loader.render_to_string(template_name, context, request, using=using)#012 File "/home/GautamDas/.virtualenvs/storevirtual/lib/python3.10/site-packages/django/template/loader.py",
Along with that, I have also getting these errors which I have no idea why`
2023-04-10 09:02:38 Error running WSGI application
2023-04-10 09:02:38 RecursionError: maximum recursion depth exceeded while calling a Python object