Re: How to add a user ratings feature in djnago application?

2020-06-13 Thread Rupesh Dahal
You can save rating on database and show them with the help of JS. On Sun, Jun 14, 2020 at 12:52 AM learn code wrote: > Hello Everyone, > > Can anyone tell me how to add a star rating feature in Django application? > > -- > You received this message because you are subscribed to the Google Group

Re: Best Django Rest Framework Tutorial??????

2020-06-12 Thread Rupesh Dahal
I would suggest the DRF documentation itself. On Thu, Jun 11, 2020 at 8:12 PM chalist wrote: > I like this channel. Maybe you like, too: > > https://www.youtube.com/watch?v=XMu0T6L2KRQ > > On Thu, 11 Jun 2020 at 15:04, Mohamed SAMAKE > wrote: > >> https://agiliq.com/blog/2019/04/drf-polls/ >> >

Re: Date comparison as a filter

2020-06-08 Thread Rupesh Dahal
https://docs.djangoproject.com/en/3.0/topics/db/queries/ check this documentation. On Monday, June 8, 2020 at 8:03:46 AM UTC+5:45, Clive Bruton wrote: > > I would like to add a date comparison filter to a lookup, to find > items in a database table that have not yet expired. I tried: > >

Re: How to get a full path of web page to my views.py?

2020-06-08 Thread Rupesh Dahal
Can you please elaborate your problem. On Monday, June 8, 2020 at 12:26:12 AM UTC+5:45, Sergei Sokov wrote: > > I have the path in the web browser like this > > http://192.168.0.178:8000/customers-orders/37/customers-orders-date/?datefilter=06%2F14%2F2020+-+06%2F26%2F2020 > > How to get this path

Re: How to retrieve dynamically the data ,submitted by a form in an html page, in a python function pointing to another html page in views.py?

2020-06-08 Thread Rupesh Dahal
You can save the data to a session but I would recommend you to store data in js in the browser itself. On Monday, June 8, 2020 at 1:54:53 AM UTC+5:45, Pierre Jutard wrote: > > I have 2 html pages A and B. The user fills the AForm in the 'A' HTML > page(URL: A) then he will go to the 'B' html pa