You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I click on the product I get this error and not able to get product page.
Traceback (most recent call last):
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\detail.py", line 106, in get
self.object = self.get_object()
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\detail.py", line 52, in get_object
obj = queryset.get()
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\db\models\query.py", line 410, in get
raise self.model.MultipleObjectsReturned(
core.models.Item.MultipleObjectsReturned: get() returned more than one Item -- it returned 2!
The text was updated successfully, but these errors were encountered:
When I click on the product I get this error and not able to get product page.
Traceback (most recent call last):
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\detail.py", line 106, in get
self.object = self.get_object()
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\views\generic\detail.py", line 52, in get_object
obj = queryset.get()
File "C:\Users\Anmol\Envs\hybrid\lib\site-packages\django\db\models\query.py", line 410, in get
raise self.model.MultipleObjectsReturned(
core.models.Item.MultipleObjectsReturned: get() returned more than one Item -- it returned 2!
The text was updated successfully, but these errors were encountered: