Hi Lutalo,
On 27/07/2020 13.12, Lutalo Bbosa joseph wrote:
> hello everyone am stack with some error in django am working on an
> ecommerce application here is the error code.
> i have aswell attached my template and the views.py file
>
>
> NoReverseMatch at /products/beef/
>
> ' cart' is not a registered namespace
>
' cart' is not the same as 'cart'. Notice the leading space.
That is mostly likely the cause of your error. Notice how you are
writing the "action" attribute in "form-product-ajax" in your
update-cart.html file.
Kind regards,
Kasper Laudrup
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8bb8652b-c71c-074c-ef78-2cf9dcd29007%40stacktrace.dk.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment