Re: django queryset - Get the data particular to current year only

2022-04-04 Thread Trippy Samurai
Thanks for the reply Brother but it's already solved On Sunday, 3 April 2022 at 12:05:39 UTC+5:30 sutharl...@gmail.com wrote: > I think this is related to your query > https://stackoverflow.com/a/28101722/8882295 > > On Thu, 31 Mar 2022 at 11:22, Trippy Samurai > wrote: > >> >>

Django 1.5 app had subclasses without tables without proxy and now 1.6 won't sync with proxy

2022-04-04 Thread John Abraham
Hello. We're migrating someone else's app that was at Django 1.5.12 and we're trying to bring it more up-to-date, step-by-step, starting with Django 1.6.11. There's an odd thing. There were a bunch of subclasses of a Model class, that didn't have any database fields. Django wasn't creating nor

Re: Django 1.5 app had subclasses without tables without proxy and now 1.6 won't sync with proxy

2022-04-04 Thread Antonis Christofides
This looks strange, although I'm not familiar with exactly this particular use case. I'm assuming you are referring to multi-table inheritance. Are you certain Django 1.5 wasn't creating these tables? Was it using migrations or South maybe? (Obviously I don't remember when Django started support

Generalize search criterion django and drf

2022-04-04 Thread Trippy Samurai
I have ListView where i display some results on my website and i have search parameter which gives the result based on title and number here i should ignore the exact spelling and show the results for both i.e search criterion to be able to ignore "." "et al." and similar terms so that when sea