Re: Django and Live Chat

2018-04-10 Thread Daniel Ash
If I was going to tackle this, I would use XMPP as the protocol. If it's internal only it will be easier than if there is a requirement to federate external to your environment. Someone already did some of the work for you. https://github.com/fpytloun/django-xmpp On Tuesday, April 10, 2018 at

Re: select_related() / prefetch_related() and sharding

2015-05-21 Thread Ash Christopher
ed(). > My question is whether you can combine select_related() and > prefetch_related() with sharding techniques. If so, how are you doing it? > > Background: > I was watching various videos on Django under load and Django scaling, > generally there comes a point at which they point

Re: Is there a way to use 'request.user' in a custom template tag without an inclusion tag?

2012-07-29 Thread Ash Courchene
Well holy crap!! context['user'] worked perfectly! I thought I would have to come up with some crazy workaround! Thank you kindly sir. On Sunday, 29 July 2012 15:03:13 UTC-4, Ash Courchene wrote: > > So I made a custom template tag that allows pieces of content to be edite

Is there a way to use 'request.user' in a custom template tag without an inclusion tag?

2012-07-29 Thread Ash Courchene
So I made a custom template tag that allows pieces of content to be edited by the site administrator with the click of a link. For instance, if i put {% editable 'index_block_one' %}, it would return whatever content is in the Placeholder model I created with the name "index_block_one". The code

Help required :(

2011-02-21 Thread Ash
Hi , I am new to Python and Django. Can some please let me know - 1) can I use Django framework for my existing Python application. 2) or do I need to write the whole application again, 3) If I can use , can someone tell me how to proceed? -- You received this message because you are subscribed

Re: Alternative model without Database

2009-11-25 Thread ash
I don't know your problem in detail, but as alternative I recommend read about twisted framework. If you work with xmlrpc servers and you need in call remote methods, then it help you. Simple exmaples: http://twistedmatrix.com/documents/current/web/howto/xmlrpc.html -- You received this message b

Re: Remote login via XML-RPC or SOAP?

2009-09-16 Thread ash
I recommend the following, every client must will be run XMLRPC server, which allow access for your with their database. You must developed skeleton this XMLRPC server with uniform set of public methods, every client himself realised this methods, because their databases may be different. Base XM

Re: Remote login via XML-RPC or SOAP?

2009-09-16 Thread ash
Why do we need such a mechanism for the relationship between client database and the master server. Maybe you need something else entirely. Could you tell more general idea. On Sep 15, 12:16 pm, "djfis...@gmail.com" wrote: > SOAP and XMLRPC have quite a few tradeoffs, but without knowing > exact