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

2021-06-28 Thread Kasper Laudrup
On 28/06/2021 13.58, Aritra Ray wrote: > 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. I cannot solve your problems for you, but I and many others will be happy to help if you provide some details on e

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: In need of urgent help for products sorting and displaying

2021-06-28 Thread Kasper Laudrup
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 una

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, Lo

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

2021-06-23 Thread Aritra Ray
Can you write the class based function of the above views.py. I'm unable to do so. Will be of great help. On Wed, 23 Jun 2021 at 21:54, Shailesh Yadav wrote: > in Html code > > > {{items_filter.form}} > > Search > > > > Thanks & Regards > Shailesh Yadav > +91-9920886044 > > [image: Linke

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

2021-06-23 Thread Aritra Ray
Like this? class Product(ListView): model = Items.objects.all() paginate_by = 6 template_name = 'products.html' result_filter = ProductFilter(request.GET, queryset=model) On Wed, 23 Jun 2021 at 21:51, Shailesh Yadav wrote: > Okay. > If you using the Django filter then, please tr

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

2021-06-23 Thread Shailesh Yadav
in Html code {{items_filter.form}} Search Thanks & Regards Shailesh Yadav +91-9920886044 [image: Linkedin] On Wed, Jun 23, 2021 at 9:50 PM Shailesh Yadav wrote: > Okay. > If you using the Django filter then, please try like below

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

2021-06-23 Thread Shailesh Yadav
Okay. If you using the Django filter 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]

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

2021-06-23 Thread Aritra Ray
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. On Wed, 23 Jun 2021 at 15:02, Shailesh Yadav wrote: > Okay use below in html > {{yourmodelnameinsmall_filter.form}} > > Thanks & Regards > Shailesh Y

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

2021-06-23 Thread Aritra Ray
Okay, will try and let you know. Thank you for your response. On Wed, 23 Jun, 2021, 3:02 pm Shailesh Yadav, wrote: > Okay use below in html > {{yourmodelnameinsmall_filter.form}} > > Thanks & Regards > Shailesh Yadav > +91-9920886044 > > [image: Linkedin]

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

2021-06-23 Thread Shailesh Yadav
Okay use below in html {{yourmodelnameinsmall_filter.form}} Thanks & Regards Shailesh Yadav +91-9920886044 [image: Linkedin] On Wed, Jun 23, 2021 at 2:58 PM Aritra Ray wrote: > This isn't working. When we are supplying a filter, the htm

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

2021-06-23 Thread Aritra Ray
This isn't working. When we are supplying a filter, the html is displaying all the products irrespective of the requested. On Wed, 23 Jun, 2021, 2:57 pm Shailesh Yadav, wrote: > Can you help with what ERROR you are getting? > > Thanks & Regards > Shailesh Yadav > +91-9920886044 > > [image: Lin

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

2021-06-23 Thread Shailesh Yadav
Can you help with what ERROR you are getting? Thanks & Regards Shailesh Yadav +91-9920886044 [image: Linkedin] 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-ecommerc

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: https://github.c

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 urgent help regarding dynamic image display v

2021-06-17 Thread Ayush Bisht
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): image = ResizedImageField(upload_to="banner", null=True, blank=True)

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

2021-06-17 Thread Arjun Kumar
Hi all, Anyone having complete practical knowledge of Django. Kindly help me to do so. Warm regards, Arjun Kumar Delhi, India On Thu, 17 Jun 2021 at 16:40, Aritra Ray wrote: > Hi, > I've been building a Django E-commerce website and I'm facing this problem. > I have created a Banner model whi

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 background-

Re: Urgent help

2021-02-25 Thread Madhav Nandan
Yeah kasper. I totally agree with you. If she could have attached repository link and where she was facing issues. I could have suggested improvement in her code. On Thu, Feb 25, 2021, 3:08 PM Kasper Laudrup wrote: > On 25/02/2021 10.32, neha bhurke wrote: > > Can You help me with code . > > Try

Re: Urgent help

2021-02-25 Thread AMRIT SHAHI
did that video helped you or not On Fri, Feb 26, 2021 at 9:11 AM neha bhurke wrote: > Thank u so much for your help 😊 > *Regard,* > *Neha Bhurke* > > > > > On Thu, Feb 25, 2021 at 3:09 PM Kasper Laudrup > wrote: > >> On 25/02/2021 10.32, neha bhurke wrote: >> > Can You help me with code . >> >>

Re: Urgent help

2021-02-25 Thread Jacob Greene
I would also like some urgent free work done for me. Please anyone. Drop what you are doing and help me now. On Thu, Feb 25, 2021, 9:26 PM neha bhurke wrote: > Thank u so much for your help 😊 > *Regard,* > *Neha Bhurke* > > > > > On Thu, Feb 25, 2021 at 3:09 PM Kasper Laudrup > wrote: > >> On 2

Re: Urgent help

2021-02-25 Thread neha bhurke
Thank u so much for your help 😊 *Regard,* *Neha Bhurke* On Thu, Feb 25, 2021 at 3:09 PM Kasper Laudrup wrote: > On 25/02/2021 10.32, neha bhurke wrote: > > Can You help me with code . > > Try to do at least some minimal effort yourself. > > The least you could do would be to spend some time o

Re: Urgent help

2021-02-25 Thread Anirudh choudhary
Hello everyone So The possible Solution Could be for python: arr = for i in arr: if i % 10 == 3: print(i) for java int[] arr = new int[10]; // Suppose you have 10 element in your array if you want dynamic array use ArrayList for(int i : arr){ if(i % 10 == 3){ System.

Re: Urgent help

2021-02-25 Thread Kasper Laudrup
On 25/02/2021 16.59, Nagaraju Singothu wrote: Write a program to find the number ends with digit 3 in a array, For example for a array input [6,83,12,54,71,44,293,43,66,13,72,42,163], the output should be 83, 293, 43, 13, 163 - all numbers ends with digit 3. It's probably just my lack of im

Re: Urgent help

2021-02-25 Thread Nagaraju Singothu
Write a program to find the number ends with digit 3 in a array, For example for a array input [6,83,12,54,71,44,293,43,66,13,72,42,163], the output should be 83, 293, 43, 13, 163 - all numbers ends with digit 3. You can choose any programming language to write this program please s

Re: Urgent help

2021-02-25 Thread Kasper Laudrup
On 25/02/2021 10.32, neha bhurke wrote: Can You help me with code . Try to do at least some minimal effort yourself. The least you could do would be to spend some time on actually writing a question, explaining what you've done, where you're having issues etc. The posts you're making here s

Re: Urgent help

2021-02-25 Thread AMRIT SHAHI
These videos might help you if you find helpful replay me, link attached here https://www.youtube.com/watch?v=siQVB7KbSPg&t=126s On Thu, Feb 25, 2021 at 3:16 PM neha bhurke wrote: > Can You help me with code . > *Regard,* > *Neha Bhurke* > > > > On Thu, Feb 25, 2021 at 2:59 PM AMRIT SHAHI > wro

Re: Urgent help

2021-02-25 Thread neha bhurke
Can You help me with code . *Regard,* *Neha Bhurke* On Thu, Feb 25, 2021 at 2:59 PM AMRIT SHAHI wrote: > use jquery > > On Thu, Feb 25, 2021 at 3:04 PM neha bhurke wrote: > >> Hello Everyone >> >> I want to create a calendar base view as attached in the file .Please >> help me >> >> -- >> You

Re: Urgent help

2021-02-25 Thread AMRIT SHAHI
use jquery On Thu, Feb 25, 2021 at 3:04 PM neha bhurke wrote: > Hello Everyone > > I want to create a calendar base view as attached in the file .Please help > me > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this

Urgent help

2021-02-25 Thread neha bhurke
Hello Everyone I want to create a calendar base view as attached in the file .Please help me -- 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+uns

Re: urgent help needed with my rest

2020-04-24 Thread Andréas Kühne
Hi, The problem you are having is that the ID you are sending to your deleteTask angular method is undefined - that's what the log shows. Check the angular code to see why you are not sending a valid id to the deleteTask method. This has nothing to do with the rest api - it is functioning perfectl

urgent help needed with my rest

2020-04-24 Thread ola neat
i'm working on with django rest-api & angular but i'm having issues making a delete request to my model see below my url, apiView, angular-api-delete-request codes and err msg -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: Need urgent help on Django project

2019-05-10 Thread Phako Perez
You could use a dictionary with cities as keys and in first drop down get keys and an if condition for second where it checks first for city if nothing selected then make second disable Sent from my iPhone > On May 10, 2019, at 07:35, avdesh sharma wrote: > > Hi Django Users, > > > I have a

Re: Need urgent help on Django project

2019-05-10 Thread Krystian
Hi, follow this tutorial to achieve this https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html W dniu piątek, 10 maja 2019 15:41:54 UTC+2 użytkownik Avdesh Kumar Sharma napisał: > > Hi Django Users, > > > I have a registra

Need urgent help on Django project

2019-05-10 Thread avdesh sharma
Hi Django Users, I have a registration form in which I wanted to enter only Indian Cities in one fields as a dropdown and their respective states in another field dropdown. Could you please help me and provide me step by step guidance how to achieve that as I am an intermediate level programmer.

Problem with submitting form in my django project! Urgent help required

2015-02-17 Thread Ketan Bhatt
I am facing a problem with my project, I posted about it on Stack Overflow, here is the link: http://stackoverflow.com/questions/28539441/reference-objects-using-foreign-keys-in-django-forms Here is m code on github, I am currently working on the feature_forms branch: https://github.com/keta

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread Bill Freeman
Well, where are things happening? Do you make a new request for each click, or do you want the changes to appear without a browser reload? If the former, the ability to customize seems to imply a model representing a choice, with a foreign key on the same model, allowing it to specify of which ch

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Thanks Bill. I'll clarify. Basically what I want to do is give each option under the choice field a function. So once the user has selected an option under the drop down box, that would initiate a script which would generate a set of links (buttons) at the bottom of the page to take the user to th

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread Bill Freeman
Since it's urgent, I'll give an opinion despite not fully understanding your description of the problem. If it's going to be so far removed from what the admin app does by default, I'd go with a custom view outside of the admin, which you can customize to your heart's content. That is, when it's

Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Ok, I'm quite new to Python and Django so this might actually have a simple solution. I'm coding for a form using Django and I have a ModelChoiceField. Now what I want to do is make the options for this field customizable. So if you choose an option, a set of links would be generated allowing you