Re: How to pass "--runworker --asgi" to wsgi.py

2023-01-13 Thread Bala Subramanyam Vemu
run via ASGI - so you > need an ASGI server. You can read the official documentation and see your > alternatives here: > https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/ > > Regards, > > Andréas > > > Den ons 11 jan. 2023 kl 19:41 skrev Bala Subramanyam

How to pass "--runworker --asgi" to wsgi.py

2023-01-11 Thread Bala Subramanyam Vemu
Hi I am currently using django channels and have deployed them as well However , we currently want to separate the runworker from runserver As mentioned in the channels we have to run "python manage.py runserver ---noworker" so that all the websocket requests can be handled separately how

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(

kwargs not available in ListView

2016-06-17 Thread Subramanyam
If we subclass ListView and try to override the get_content_data in 1.8.11 kwargs are not showing up, is this a bug ?? I have seen a bug already but I am not sure whether https://code.djangoproject.com/ticket/17242 is to be revisited Bala -- You received this message because you are

Instantiating the SQL implementation of Aggregates in Django 1.8

2015-08-14 Thread Ramana Subramanyam
I've been working on updating the existing code base that was using Django 1.6 to Django 1.8. In the process, I've been facing a particular problem with aggregates. In this code, *PGDAggregate* class has a method *add_to_query* which is intended to instantiate the SQL implementation of the

Re: help required on how to modify constraints/indexes of unique_together after data is loaded

2013-08-28 Thread Subramanyam
Hi Found the solution ran the following sql directly and it worked fine ALTER TABLE `table_name` DROP INDEX `field1` , ADD UNIQUE INDEX `field1` (`field1` ASC, `field2` ASC, `field3` ASC) ; Also checked a distinct on the three fields to ensure data integrity Thanks Subramanyam

help required on how to modify constraints/indexes of unique_together after data is loaded

2013-08-27 Thread Subramanyam
the new ones Thanks -Subramanyam -- 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+unsubscr...@googlegroups.com. To post to this group,

unique_together modifed after data is loaded

2013-08-27 Thread Subramanyam
Thanks -Subramanyam -- 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+unsubscr...@googlegroups.com. To post to this group, send email to dj

Re: What's your workflow?

2010-12-27 Thread Subramanyam
hi On Fri, Dec 24, 2010 at 10:32 AM, Dana <woodman.d...@gmail.com> wrote: > @Subramanyam > > > South is a good tool, but my point is its better not to get to the point > > that we have to use South. > > Why do you think South is a fallback rather than part of your

Re: What's your workflow?

2010-12-22 Thread Subramanyam
hi Dana On Thu, Dec 23, 2010 at 12:51 AM, Dana <woodman.d...@gmail.com> wrote: > Subramanyam, thanks for the response. > > In regard to 3, I am not clear why it would be a good idea to add in > model fields for things you *think* you might want some day. > > I would

Re: What's your workflow?

2010-12-22 Thread Subramanyam
, deployment automation, ... and the rest Subramanyam On Thu, Dec 23, 2010 at 12:10 AM, Dana <woodman.d...@gmail.com> wrote: > I've been bashing my head against a wall lately trying to determine > the best (highly subjective, I know) workflow for developing Django > projects. > >

Alphabetic filtering of Django Admin drop down menu

2010-12-07 Thread Subramanyam
fit our requirement Is there a way that we can have alphabetic pagination in the drop down menu of Admin Thanks in advance Subramanyam -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Plese guide to solve this

2010-07-21 Thread Subramanyam
Hi In your models.py Change the below to name = models.CharField(maxlength=30) this name = models.CharField(max*_*length=30) underscore is the diff Regards Subramanyam On Wed, Jul 21, 2010 at 6:30 PM, balu <vab...@gmail.com> wrote: > Respected sir > > This is balu studying B.

Re: My http://localhost/admin/ display

2010-06-14 Thread Subramanyam
Hi The problem is that the css files are not being rendered in the path that you mentioned to try debugging further do a find in your media folder to list the css files if you dont find them , then you found the problem Regards Subramanyam On Jun 13, 9:11 pm, Jagdeep Singh Malhi <singh.m

Re: Hosting for Django sites

2010-04-06 Thread Subramanyam
Hi Did you use memcache in deployment in the shared plans Regards Subramanyam On Sun, Apr 4, 2010 at 9:54 PM, Justin Myers <masterb...@gmail.com> wrote: > I'm a fan of Webfaction's shared plans, and I've used them for three > or four projects now. I've had no problems with t

Re: error using memcache and filter()

2010-01-06 Thread Subramanyam
ain to get the objects back Thanks again !! Regards Subramanyam On Wed, Jan 6, 2010 at 8:42 AM, Frank DiRocco <ofang...@gmail.com> wrote: > 'yam, > > I have not seen this error, but my responses to the error are inline. > > > On Jan 6, 2010, at 6:30 AM, Subramanyam

error using memcache and filter()

2010-01-06 Thread Subramanyam
2.6.egg/memcache.py", line 697, in _val_to_store_info pickler.dump(val) PicklingError: Can't pickle : attribute lookup django.utils.functional.__proxy__ failed please let me know if anyone has seen the error before Thanks Subramanyam -- You received this message because you are s

Re: obtaining sessionId(s) of logged in user by username

2010-01-01 Thread Subramanyam
Hi Found a pointer which I feel is more relevant to my question http://stackoverflow.com/questions/235950/how-to-lookup-django-session-for-a-particular-user Will update on the solution after I get/develop one :) Regards Subramanyam On Thu, Dec 31, 2009 at 9:37 AM, Subramanyam <bal

obtaining sessionId(s) of logged in user by username

2009-12-31 Thread Subramanyam
Hi what is the most efficient way to get the sessionId(s) of a user by the username (where in the same user can log-in on mulitple systems) , btw the I am using sessionID as the key for my cached objects Is there any middleware that I can use Thanks Subramanyam -- You received this message

Re: best approach for using email as username

2009-10-30 Thread Subramanyam
small correction On Fri, Oct 30, 2009 at 7:41 PM, Subramanyam <balu.v...@gmail.com> wrote: > Hi > > Firstly you can try using the following auth-backend > http://www.djangosnippets.org/snippets/74/ > > secondly > while rendering the signup form to the user > you ca

Re: best approach for using email as username

2009-10-30 Thread Subramanyam
; I have a custom authentication method but I need more. I need to tell >> Django to make the email unique, and I need to login and create users >> from the admin with the @ character. >> >> What is the best approach for this? >> >> I've been searching in google but no one

can .values() return the field of child model

2009-09-04 Thread Subramanyam
Hi Can .values() method return fields of child model i.e fields of forward relation across a database --- Subramanyam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Retrieving the values from query set

2009-08-03 Thread Subramanyam Vemu
Hi Daniel ,Malcom Thanks for the reply That exactly was the solution I wanted On Mon, Aug 3, 2009 at 11:47 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > > On Aug 3, 7:03 am, Subramanyam Vemu <balu.v...@gmail.com> wrote: > > Hi Malcom > > > > The va

Re: Retrieving the values from query set

2009-08-03 Thread Subramanyam Vemu
ngo way of retrieving only the values as a list and not > > the fieldname > > Have a look at the values_list() method. That does what you are after. > > > http://docs.djangoproject.com/en/dev/ref/models/querysets/#values-list-fields > > Regard

Re: Session problem

2009-07-27 Thread Subramanyam Vemu
Also, I have noticed that Django is deleting sessions from database? > How can this be? If I hit my application, and than Django admin I > lost my application session?! > > Django 1.0.2, Windows XP, MySQL > > Apache and Django server, re

Re: Django and chat

2009-07-06 Thread Subramanyam Vemu
Hi Juanjux Did you deploy the above chat application in any production site or so do you have any stats like how many max users it can handle Thanks in advance Regards Subramanyam On Sun, Jul 5, 2009 at 7:54 PM, Juanjux (Google) <juan...@gmail.com> wrote: > > Hi Ivan, > &

Re: Call for reviews on the django book !!

2007-11-29 Thread Subramanyam
Better dont assume and answer let me know if you have gone through the book On Nov 30, 12:26 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 30-Nov-07, at 12:52 PM, Subramanyam wrote: > > > I was referring to the paper edition > > what is there in the site will be

Re: Call for reviews on the django book !!

2007-11-29 Thread Subramanyam
Hi kenneth I was referring to the paper edition On Nov 30, 12:15 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 30-Nov-07, at 12:22 PM, Subramanyam wrote: > > > Can you please share your reviews like , is it the same as the django > > book available in thewww.

Call for reviews on the django book !!

2007-11-29 Thread Subramanyam
es of code snippets. btw I have to place an international order since it is not available in the Asian Edition Thanks in advance Subramanyam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Query on Instant Messaging

2007-10-24 Thread Subramanyam
Thanks in advance Subramanyam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,