Re[2]: How to authenticate a user in websocket connection in django channels when using token authentication

2017-11-16 Thread Dominik Szmaj
Ok, this was entirely my fault. I created groups with id of a user.username and didn't add message.reply_channel to this group right after successful token verification. __ Pozdrawiam, Dominik Szmaj W dniu 15.11.2017 21:13:00, "Dominik Szmaj" pisze Hey, I've done this websocket authoriza

Re: Are time zone definitions actually required/used in MySQL?

2017-11-16 Thread bill.torcaso
But how would my Vagrant VM know anything about that? On Wednesday, November 15, 2017 at 4:34:05 PM UTC-5, Mike Dewhirst wrote: > > On 16/11/2017 2:53 AM, bill.torcaso wrote: > > > > I frequently use Django + MySql on a pristine Vagrant virtual > > machine. And on a fresh machine, for the fir

How to do query inner join in django rest framework

2017-11-16 Thread Angel Omar Rojas Pacheco
hello everyone, I am a new in django, need to inner join in django, it searching in documentation DJANGO REST FRAMEWORK / SERIALIZER, but is not looking for I am, My query in sql is: select * from auth_user as auser inner join profile_user_colony as profileu on auser.id=profileu.user_id thi

how to do query inner join in django 1.11

2017-11-16 Thread Angel Omar Rojas Pacheco
hello peolpe I need your help please, I read documentation django rest framework/serialize, but isn't find my solution, I need this query in django: select * from auth_user as auser inner join profilecolonybit_profile as profileu on auser.id=profileu.user_id this show me all users and profile

How to Speed up Loading the First Page of Django Project?

2017-11-16 Thread flora . xiaoyun . huang
Hi, I am deploying a Django project on Apache2. The Apache is running using mod_wsgi daemon mode. The first page of the website usually loads so slow. Before loading the first page (html, css) the user's identification should be verified (check the variable they pass through GET). When checking

Re: reg:not able to open registration form web page

2017-11-16 Thread 'Amitesh Sahay' via Django users
Can somebody kindly reply to my query please... I am completely stuck no where to find any help Sent from Yahoo Mail on Android On Wed, Nov 15, 2017 at 19:08, Amitesh Sahay wrote: Hello Members,  I am new to Django, and trying to create a mock Django registration page. I am using default

Re: reg:not able to open registration form web page

2017-11-16 Thread James Schneider
On Nov 15, 2017 8:32 AM, "'Amitesh Sahay' via Django users" < django-users@googlegroups.com> wrote: Hello Members, I am new to Django, and trying to create a mock Django registration page. I am using default Django "User" model to do that, and I am not customizing anything. Its a very simple form