Re: Django-channels can't connect to websocket server. But when I am using redis I can't connect to my site at all.

2017-02-04 Thread Nikoleta Misheva
yes I have installed channels and it is in django installed apps. Another thing I see is that in the logs it says connecting localhost. HTTP/1.1 with code 200 so it is not making a websocket at all? неделя, 5 февруари 2017 г., 2:11:46 UTC+2, Andrew Godwin написа: > > If you ever see "Unexpec

Re: Django-channels can't connect to websocket server. But when I am using redis I can't connect to my site at all.

2017-02-04 Thread Nikoleta Misheva
yes I have installed channels and it is in django installed apps неделя, 5 февруари 2017 г., 2:11:46 UTC+2, Andrew Godwin написа: > > If you ever see "Unexpected response code: 200" it means that something > between you and the server doesn't understand WebSockets. Given it's > localhost in this

Re: Django channels

2017-02-04 Thread Andrew Godwin
"Dispatching message on websocket.receive to channels.routing.null_consumer" means that you don't have a consumer tied to the "websocket.receive" channel, so Channels is sending it nowhere. Did you set up your routing correctly? Andrew On Sat, Feb 4, 2017 at 2:41 AM, Алексей Кузуб wrote: > Hell

Re: Django-channels can't connect to websocket server. But when I am using redis I can't connect to my site at all.

2017-02-04 Thread Andrew Godwin
If you ever see "Unexpected response code: 200" it means that something between you and the server doesn't understand WebSockets. Given it's localhost in this case, have you installed channels and make sure it's in INSTALLED_APPS, then run `runserver`? Andrew On Sat, Feb 4, 2017 at 3:20 AM, Nikol

multiple file upload from image filed in django admin

2017-02-04 Thread Amit Pathak
Hi Guys, I have to upload multiple images from single ImageField and i have tried everything however i am able to select only single image . Please help how can i do this? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Problem UnicodeDecodeError when run createsuper

2017-02-04 Thread Lucas Simon Rodrigues Magalhaes
Hello everyone, I have a problem when run createsuperuser.py command in python 3.4. How can I solve it definitely? Look the code: https://gist.github.com/lucassimon/7837dce442e3a4a090ce4d155b4a2035 -- You received this message because you are subscribed to the Google Groups "Django users" gr

django-hotsauce 0.6.3 is out

2017-02-04 Thread Etienne Robillard
Hi guys, I'm proud to announce the release of django-hotsauce-0.6.3! Download from here: http://www.isotopesoftware.ca/pub/django-hotsauce/django-hotsauce-0.6.3.tar.gz Source code is available from Bitbucket: https://bitbucket.org/tkadm30/django-hotsauce News Django-hotsauce development

Re: issue with django's example version 1.10 in windows 7 ultimate

2017-02-04 Thread Dário Carvalho
First I used this sequence with cmd: cd %userprofile% django-admin startproject mysite python manage.py startapp polls Before I updated the ".\mysite\polls\views.py" and now it looks like: from django.shortcuts import render # Create your views here. from django.http import HttpResponse def

validation of admin form with inlines

2017-02-04 Thread Roberto Russi
I need to validate a form in the admin area checking if the SUM of 'price' field in inlines match whit 'amount' field in the main form. What is best way? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Does anyone know a Django-based website containing Member registration with membership management, Articles and Forum?

2017-02-04 Thread skyppy
I would like to see some Django-based websites with Member registration, membership management and Membership profiles, Articles and Forum. I've the idea that all of those things are possible with Django, but up until know I couldn't find beautifully crafted Articles (like Blog posts) and Discus

Passing two tables in

2017-02-04 Thread alam . hilaal
Dear Friends I have to display data from two independent database tables on the same template page (energy.html). Kindly help.. Table names are "nrg" and "tLoad" urls: ***

Multiple tables on the same template page

2017-02-04 Thread alam . hilaal
Dear Friends I want to display independent multiple tables on the template page (- "energy.html"). Only data from 'nrg' are displayed on 'energy.html' not 'tLoad'. Please help me show data from 'tLoad' n energy.html. models: (tables are 'nrg' and tLoad')

Django-channels can't connect to websocket server. But when I am using redis I can't connect to my site at all.

2017-02-04 Thread Nikoleta Misheva
When I use django-channels with reconnecting websocket without redis backend and try to connect to ws://localhost:8000/play it returns Error during WebSocket handshake: Unexpected response code: 200 But when I use the redis backend and even t

Django channels

2017-02-04 Thread Алексей Кузуб
Hello! I'm using django channels. I deployed it in IIS 8 and it's work on http.request. But when I try to use websocket result is nothing. Daphne writes me "Websocket incoming frame on websocket.send!toke". Workers write me "Dispatching message on websocket.receive to channels.routing.null_cons