django.urls.excepti...
 
Notifications
Clear all

django.urls.exceptions.NoReverseMatch: Reverse for 'remove_cart' with arguments '(2,)' not found. 1 pattern(s) tried: ['cart/remove_cart/(?P[0-9]+)/(?P[0-9]+)/$']

1 Posts
2 Users
0 Reactions
13 Views
0
Topic starter

Reference Section 11:

Cart Increment/Decrement/Remove with Variations

the above-said error found. kindly cooperate in this regard 

Thanks

1 Answer
0
 

Dear Ejaz Ali Inayat,

The error you are encountering seems to be caused by an undefined or incorrect URL being accessed. To resolve this issue, please follow these steps:

  1. Check your urls.py file: Ensure the URL you are trying to access is properly defined.
  2. Verify your app configuration: Confirm that the app is added to the INSTALLED_APPS section of your settings.py file.
  3. Include app-specific URLs: Make sure the app’s urls.py file is included in your project's main urls.py.

If you have verified all of the above and are still facing the issue, kindly share your GitHub repository link with us. We will be happy to assist you further in resolving the problem.

Share: