Re: Sorting price and discount price (urgent)

2021-07-01 Thread Aritra Ray
gt; Shailesh Yadav > > > > On Thu, Jul 1, 2021 at 1:33 PM Aritra Ray wrote: > >> I tried to describe the problem but till my capability and it is urgent, >> not just for increasing the possibility of getting help. Thank you for your >> advice and help. >>

Re: Sorting price and discount price (urgent)

2021-07-01 Thread Aritra Ray
I tried to describe the problem but till my capability and it is urgent, not just for increasing the possibility of getting help. Thank you for your advice and help. On Thu, 1 Jul, 2021, 1:30 pm Kasper Laudrup, wrote: > On 7/1/21 8:03 AM, Aritra Ray wrote: > > I am facing a problem in

Sorting price and discount price (urgent)

2021-07-01 Thread Aritra Ray
I am facing a problem in including the discount_price into consideration when sorting price through the products. Kindly help me to do so. The below attached files are filters.py, views.py and models.py. Regards, Aritra class ProductFilter(django_filters.FilterSet): sort = OrderingFilter(

Re: In need of urgent help for products sorting and displaying

2021-06-28 Thread Aritra Ray
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

Re: Kindly help me with Django filer, urgent need.

2021-06-25 Thread Aritra Ray
an issue then share the link here  > > On Fri, 25 Jun 2021, 3:04 PM Aritra Ray, wrote: > >> Hi, >> This is my second request regarding the same issue. I've been building a >> Django E-commerce website and I'm facing problems filtering the product >> accordin

Kindly help me with Django filer, urgent need.

2021-06-25 Thread Aritra Ray
Hi, This is my second request regarding the same issue. I've been building a Django E-commerce website and I'm facing problems filtering the product according to price. I used django-filter to filter category and size. Please suggest a solution for price in the following manner: Latest products,

In need of urgent help as I've been stuck on this for a while

2021-06-24 Thread Aritra Ray
Hi, This is my second request regarding the same issue. I've been building a Django E-commerce website and I'm facing problems filtering the product according to price. I used django-filter to filter category and size. Please suggest a solution for price in the following manner: Latest products,

Re: Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
ilter then, please try like below in your views.. >> >> abc_list = ModelName.objects.all() >> result_filter = ModelNameFilter(request.GET, queryset=abc_list) >> >> Thanks & Regards >> Shailesh Yadav >> +91-9920886044 >> >> [image: Linkedin] <https://i

Re: Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
-b7ab89110> > > > > On Wed, Jun 23, 2021 at 9:13 PM Aritra Ray wrote: > >> Sorry, it's not working. I tried items_filter.form but it didn't work. >> Kindly check my views.py if that'll be of any help or require any changes. >> >> >&g

Re: Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
gards > Shailesh Yadav > +91-9920886044 > > [image: Linkedin] <https://in.linkedin.com/in/shailesh-yadav-b7ab89110> > > > > On Wed, Jun 23, 2021 at 2:58 PM Aritra Ray wrote: > >> This isn't working. When we are supplying a filter, the html is >&

Re: Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
s://in.linkedin.com/in/shailesh-yadav-b7ab89110> > > > > On Wed, Jun 23, 2021 at 2:58 PM Aritra Ray wrote: > >> This isn't working. When we are supplying a filter, the html is >> displaying all the products irrespective of the requested. >> >> On Wed, 23 J

Re: Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
886044 > > [image: Linkedin] <https://in.linkedin.com/in/shailesh-yadav-b7ab89110> > > > > On Wed, Jun 23, 2021 at 2:25 PM Aritra Ray wrote: > >> Hi, >> I've been trying to introduce a filter system in my Django-ecommerce >> website and I've been stru

Need urgent help with filter system (django-filter) in Django

2021-06-23 Thread Aritra Ray
Hi, I've been trying to introduce a filter system in my Django-ecommerce website and I've been struggling despite reading the documents, etc. I am using 'django-filter' and below are filters.py, models.py, views.py and the template. To check out the project, follow the github link:

Re: In need of urgent help regarding dynamic image display v

2021-06-23 Thread Aritra Ray
Thank you, it worked. On Fri, 18 Jun 2021 at 00:08, Ayush Bisht wrote: > I think there is 2 method which you can do to get the work done. ... > > *1 : first one* .. you can declare a property decorator which just return > the url of that image > > > class Banner(BaseModel): >

Re: In need of help regarding HTML Submit button

2021-06-17 Thread Aritra Ray
Thank you, it worked! On Tue, 15 Jun 2021 at 00:13, Nikeet NA wrote: > Change the type of button back to type='button" rather than type="submit" > > On Monday, 14 June 2021 at 22:39:27 UTC+5:30 arit...@gmail.com wrote: > >> Hi, >> I'm facing an error with the Place Order button not working when

In need of urgent help regarding dynamic image display v

2021-06-17 Thread Aritra Ray
Hi, I've been building a Django E-commerce website and I'm facing this problem. I have created a Banner model which will take in images via django.ResizedImage and then display it in the homepage. But I'm unable to process them in CSS. Kindly help me out. PS: I'll have to process it as

Re: location based web app with django and geodjango

2021-06-15 Thread Aritra Ray
Hello, Register your app in setting.py-> INSTALLED_APPS like 'appname.apps.appnameConfig' from your apps.py. Alternatively, you can write 'app_name' instead of the whole sentence. Regards, Aritra. On Tue, 15 Jun 2021 at 05:46, Stathis Angelou wrote: > good evening all, > > I have started

In need of help regarding HTML Submit button

2021-06-14 Thread Aritra Ray
Hi, I'm facing an error with the Place Order button not working when the user is choosing the default address. Kindly help me out in this regard and let me know if any other files are needed. Thank you in advance Regards, Aritra. class Address(BaseModel): user = models.ForeignKey(User,

Re: In immediate help of a long time pending request, kindly help.

2021-06-04 Thread Aritra Ray
this option => limit_choices_to={'user' : 'user'}, to your items > field in models.py > > > > On Tuesday, 1 June 2021, Aritra Ray wrote: > >> Right, thank you so much. >> >> Regards. >> >> On Tue, 1 Jun, 2021, 8:27 pm oba stephen, wrote: >> >&

Re: In immediate help of a long time pending request, kindly help.

2021-06-01 Thread Aritra Ray
> > > > On Tuesday, 1 June 2021, Aritra Ray wrote: > >> Right, thank you so much. >> >> Regards. >> >> On Tue, 1 Jun, 2021, 8:27 pm oba stephen, wrote: >> >>> You should return this if you want to redirect to cart; >>> >&g

Re: In need of immediate help from Django community

2021-05-25 Thread Aritra Ray
file. >> >> Default "User" model comes with username, email filed. >> >> Why you're creating another email field in the Profile model? >> >> Just fetch it using {{ user.email }} >> >> >> On Tue, May 25, 2021, 1:38 AM Aritra Ray wrote: >