error

7 views
Skip to first unread message

Bhumika shrestha

unread,
Feb 7, 2020, 1:28:56 PM2/7/20
to Django users
Reverse for 'cart_add' with arguments '('',)' not found. 1 pattern(s) tried: ['cart/add/(?P<product_id>[0-9]+)/$']

Motaz Hejaze

unread,
Feb 7, 2020, 1:47:57 PM2/7/20
to django...@googlegroups.com
Did you pass the product_id to the view ?

On Fri, 7 Feb 2020, 8:28 pm Bhumika shrestha, <sbhum...@gmail.com> wrote:
Reverse for 'cart_add' with arguments '('',)' not found. 1 pattern(s) tried: ['cart/add/(?P<product_id>[0-9]+)/$']

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c7f7f813-7b3a-4141-952b-0a1ddd7e3ea5%40googlegroups.com.

Naveen Vadavalasa

unread,
Feb 7, 2020, 1:48:11 PM2/7/20
to django...@googlegroups.com
Hi, 
You may have missed url Or you may have given incorrect URL in template. 

Thanks & Regards
Naveen 

On Fri, 7 Feb, 2020, 11:58 PM Bhumika shrestha, <sbhum...@gmail.com> wrote:
Reverse for 'cart_add' with arguments '('',)' not found. 1 pattern(s) tried: ['cart/add/(?P<product_id>[0-9]+)/$']

--
Reply all
Reply to author
Forward
0 new messages