Channels & WebSocket - failed: Error during WebSocket handshake: Unexpected response code: 403

2019-03-11 Thread stunaz
Hi, my set works well in dev, but failed in production Here is my logs on my server, any advises? 2019-03-11 20:33:22,819 DEBUGParsing Redis URI 'redis://localhost:6379' 2019-03-11 20:33:22,819 DEBUGCreating tcp connection to ('localhost', 6379) 2019-03-11 20:33:22,829 DEBUG

Re: django queryset/annotate get extra column

2016-05-20 Thread stunaz
Wonderfull (ps :sorry, I should have put the model) On Friday, May 20, 2016 at 2:40:33 AM UTC-4, James Schneider wrote: > > On Wed, May 18, 2016 at 9:54 PM, stunaz <stu...@gmail.com > > wrote: > >> Hi, >> I would like to write the following query using django or

django queryset/annotate get extra column

2016-05-18 Thread stunaz
Hi, I would like to write the following query using django orm. select * , (select image_url from blog_image bi where bi.blog_id = b.id and bi. principal=1) as blog_main_imange from blog b Any idea, how to write the queryset ? -- You received this message because you are subscribed to the