Re: Channels 2.0 max number of connections

2018-04-04 Thread Andrew Godwin
No, there is no hard limit programmed into Daphne. It will keep accepting as long as it can. Andrew On Wed, Apr 4, 2018 at 11:30 PM, Алексей Кузуб wrote: > But no limit in params or in some other place? > > среда, 4 апреля 2018 г., 20:00:11 UTC+3 пользователь Andrew Godwin написал: >> >> It dep

Re: Channels 2.0 max number of connections

2018-04-04 Thread Алексей Кузуб
But no limit in params or in some other place? среда, 4 апреля 2018 г., 20:00:11 UTC+3 пользователь Andrew Godwin написал: > > It depends on your server and how busy the connections are. If you need > more you should run more instances of Daphne. > > Andrew > > On Wed, 4 Apr 2018, 05:21 Алексей К

Re: Creating a model instance using currently logged in user

2018-04-04 Thread 'Simon Connah' via Django users
Hi, Sorry. When I wrote that message I wasn't thinking properly. After a sleep and a bit of Googling, I sorted the issue out. In the future, I'll be much more explicit about my problems. Just goes to show how important sleep is when programming :). Thank you for your response though. At least

Re: Working google maps widget

2018-04-04 Thread Siim Märtmaa
2018-04-04 23:14 GMT+03:00 Cictani : > Hi, > > All I need is a text field in > which you enter an adress, then it should geocode this address via google > geocoding and display it on the map. > > Best regards > > Andreas You mean this? https://developers.google.com/maps/documentation/javascript/ex

Working google maps widget

2018-04-04 Thread Cictani
Hi, I am looking for a working google maps widget. All I need is a text field in which you enter an adress, then it should geocode this address via google geocoding and display it on the map. The widget should work without geodjango dependencies and with a recent version of jquery > 3.0 since

Re: Creating a model instance using currently logged in user

2018-04-04 Thread Daniel Roseman
On Tuesday, 3 April 2018 22:17:34 UTC+1, Simon Connah wrote: > > Hi, > > Apologies as this is a newbie question. > > I have a Model, a CBV CreateView and a ModelForm. > > The ModelForm is set to use the model, and the model has a field called > author which is a ForeignKey to default Django au

Re: Channels 2.0 max number of connections

2018-04-04 Thread Andrew Godwin
It depends on your server and how busy the connections are. If you need more you should run more instances of Daphne. Andrew On Wed, 4 Apr 2018, 05:21 Алексей Кузуб, wrote: > Hello! How many connections Channels 2.0 can handle and keep open > simultaneously? And how should I configure Daphne th

Problem with bytes

2018-04-04 Thread Hayk Manukyan
Hello! I have a problem with bytes. In mysql database i can't save multilanguage text. and i converted text to byte ('sometext'.encode()). But now in admin interface are showed byte and I whant convert it to 'utf-8'. Please help me. Maybe i can save text in other character encoding , or it need

Channels 2.0 max number of connections

2018-04-04 Thread Алексей Кузуб
Hello! How many connections Channels 2.0 can handle and keep open simultaneously? And how should I configure Daphne that increases this number? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: Django Channels 2 poor performance and high CPU usage

2018-04-04 Thread 'James Foley' via Django users
Not exactly a solution, but after farting about with so many configurations I went back and tried channels 1.1.8. Looks like everything runs perfectly fine on 1.1.8 so I'm not sure what 2.x introduced that is causing me issues. On Wednesday, 28 March 2018 13:08:49 UTC+1, James Foley wrote: > > H