Re: Problem extracting month Djongo / MongoDB

2020-03-24 Thread Eswar Subramanyam
Does someone have any idea of any other groups on which i can get help on my question ? Thanks. BR Es. Le lundi 23 mars 2020 16:14:37 UTC+1, Eswar Subramanyam a écrit : > > I am using MongoDB as underlying DB with Django. > > pipeline = { > 'pric

Problem extracting month Djongo / MongoDB

2020-03-23 Thread Eswar Subramanyam
I am using MongoDB as underlying DB with Django. pipeline = { 'price' : Sum('price'), 'month' : ExtractMonth('dateValue'), } queryset = ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline) Unfortuantely i get a

Extracting Month from date during a query

2020-03-22 Thread Eswar Subramanyam
I am using MongoDB as underlying DB with Django. pipeline = { 'price' : Sum('price'), 'month' : ExtractMonth('dateValue'), } queryset = ListingBooks.objects.values('dateValue','typeBook').annotate(**pipeline) Unfortuantely i get a

Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-20 Thread Eswar Subramanyam
exception: Indeed that's where Khaleel you were right, PyMongo i installed through pycharm, which desginated a sitepackage folder that wasnt my user site-package... Hope this helps someone falling into the same trap. Cheers, Es. Le jeudi 19 mars 2020 21:35:52 UTC+1, Eswar Subramanyam a écrit : >

Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-20 Thread Eswar Subramanyam
mischief in the land - it would be as if he killed all mankind, & if > anyone saved a life, it would be as if he saved the life of all mankind. > > > On Fri, Mar 20, 2020 at 2:05 AM Eswar Subramanyam < > eswar.subraman...@gmail.com> wrote: > >> Hi >> >> I o

unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-19 Thread Eswar Subramanyam
Hi I opted for Djongo to take advantage of Django ORM with MongoDB.. but while starting the server, i get the following error AppData\Roaming\Python\Python38\site-packages\django\db\utils.py", line 121, in load_backend raise ImproperlyConfigured(