We've realised the error but are unable to fix it. We'll be grateful if you
can solve it for us as we've been stuck on this for a long time. The search
function in the views.py is conditioning the products via products.html
filter form which is requesting for a "products-list url" which looks like
this: path('products', Product.as_view(), name='products-list').
The problem is the url pattern. Can you help us resolve this issue?
The GitHub link to our repo is
https://github.com/First-project-01/Django-ecommerce


Will be of great help
Regards,
Aritra.


On Mon, 28 Jun 2021 at 16:40, Kasper Laudrup <laud...@stacktrace.dk> wrote:

> On 28/06/2021 12.51, Adarsh Sarda wrote:
> >  I've been building a Django E-commerce website and I'm facing problems
> > displaying the sorted products on the products page of my website. I can
> > display the products by category sorting in which I'm using crispy-forms
> > to display the form but I am unable to display the products when sorted
> > by price. I've attached the required files below.
> >
> > Do let me know if anything else is needed.
> > Thanks for your help in advance
> >
>
> Check the "action" parameter to your form. Where exactly does the string
> given to that parameter end?
>
> That should help you figure out how to fix it.
>
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bec6b39c-53a2-2905-eb4c-77cb24ba6c25%40stacktrace.dk
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFecadvCQGUGmCpd9O%3DHXrgnMV83uHUBhYv5m2qyOqi_Cf10Dw%40mail.gmail.com.

Reply via email to