Re: Hi to all how to implement Search option in website?

2022-07-23 Thread Lalit Suthar
you can try django-filters also for more complex use cases https://django-filter.readthedocs.io/en/stable/ On Sat, 23 Jul 2022 at 22:09, Lakshyaraj Dash wrote: > You can do something like shown in the screenshot below > > Thanks and Regards > Lakshyaraj Dash > > On Sat, Jul 23, 2022, 21:59

Re: Help to implement join query in django orm

2022-07-23 Thread Lalit Suthar
this can be helpful https://betterprogramming.pub/django-select-related-and-prefetch-related-f23043fd635d On Sun, 24 Jul 2022 at 00:30, Ryan Nowakowski wrote: > On Fri, Jul 22, 2022 at 12:16:14PM +0530, Avi shah wrote: > > I have two tables > > Tbl 1 > > & > > Tbl 2 > > > > I need to connect

Re: Search option in website

2022-07-23 Thread Ryan Nowakowski
You mentioned you're not using models. Where are you storing the data you want to search? On July 23, 2022 8:42:40 PM CDT, Mahendra wrote: >I am not using models using only URLs is any ways to go like using Ajax or >JavaScript language please suggest me? > >On Sat, 23 Jul 2022, 22:11 Lakshyaraj

Re: Sockets

2022-07-23 Thread Cisco Gmail
Thanks a lot !!! Julien Munar. > Le 22 juil. 2022 à 10:05, Vkash Poudel a écrit : > >  > Thank you very much for such a quick response > >> On Thu, 21 Jul 2022, 02:43 carlos, wrote: >> Hello, tow info >> >> https://dev.to/buurak/django-rest-framework-websocket-3pb6 >> >>

Re: Search option in website

2022-07-23 Thread Lakshyaraj Dash
Go for a search on geeksforgeeks like *How to get url parameters in javascript ?* On Sun, Jul 24, 2022, 07:13 Mahendra wrote: > I am not using models using only URLs is any ways to go like using Ajax or > JavaScript language please suggest me? > > On Sat, 23 Jul 2022, 22:11 Lakshyaraj Dash, >

Re: Search option in website

2022-07-23 Thread Mahendra
I am not using models using only URLs is any ways to go like using Ajax or JavaScript language please suggest me? On Sat, 23 Jul 2022, 22:11 Lakshyaraj Dash, wrote: > You can implement search option very easily like shown in the > screenshot below > Also for more information see the following

Re: DRF question

2022-07-23 Thread Jason
sure, it can be used to extend, but you're also equating template-based responses with restful. those are pretty differnet paradigims, so you do need to account for the different use cases. there's a reason why DRF is a separate package built on top of django, and not in core. because its a

Re: Search option in website

2022-07-23 Thread Thomas Lockhart
You can implement a robust search using something like elastic search or whatever seems to be the best choice currently (haven’t done one in a few years). Hth - Tom > On Jul 23, 2022, at 9:39 AM, Mahendra wrote: > > Hi to all, > How to implement Search option in website.please any one guide

Re: Help to implement join query in django orm

2022-07-23 Thread Ryan Nowakowski
On Fri, Jul 22, 2022 at 12:16:14PM +0530, Avi shah wrote: > I have two tables > Tbl 1 > & > Tbl 2 > > I need to connect the two tables using a join If these tables were created outside of Django, in other words, not using manage.py migrate, you can use Django's legacy database support to auto

Re: Best digital ocean plan for a production server

2022-07-23 Thread Ram
Thank you all for your input. I would like to sign up for a plan which can let us focus only on coding and still scalabile, but my concern is our application requires following: 1. Linux OS 2. Postgres 3. Python 3.10 4. Django latest 5. Vue.js 6. Gunicorn 7. Nginx 8. Let's Encrypt or any SSL 9.

Re: DRF question

2022-07-23 Thread Ram
Hi Jason, Thank you for your email. I expected DRF could be an extensible feature rather than forcing to change existing implementation. Extensibility practice happens in many open source and enterprise projects. That is why I'm shocked to learn this. Best regards, ~Ram On Sat, Jul 23, 2022

Search option in website

2022-07-23 Thread Mahendra
Hi to all, How to implement Search option in website.please any one guide me ? Thanks, Mahendra Yadav -- 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

Hi to all how to implement Search option in website?

2022-07-23 Thread Mahendra
On Fri, 22 Jul 2022, 23:37 Prashanth Patelc, wrote: > how to use time in pandas (convert 24 hours time to 12 hours) > > Login time table > == > userid logindate logintime > 22022-13-07 18:30:00.490337 > > Logout time table > == > > userid

Re: DRF question

2022-07-23 Thread Jason
Ram, what did you expect, to be honest? Going from forms to rest are two different implementation details for the same concept. When you do such things, you need to evaluate whether the tradeoffs are worth it. On Saturday, July 23, 2022 at 1:30:43 AM UTC-4 ram.mu...@gmail.com wrote: > Hi