Re: Get latest timestamp+value from each group

2014-08-03 Thread Joshua Lyon
Thanks for the feedback. I'm not sure I would want to change the Device 
object directly, but I might consider a separate Snapshot object which 
keeps record of the latest Log object per Device. If I go down that route, 
I think I'll have to analyze a bit more between a One-to-One relationship 

 (linked) 
or Model Inheritance 
 
(copied) 
and the performance/resource trade offs of each.

On Friday, August 1, 2014 10:22:52 PM UTC-5, Collin Anderson wrote:
>
> I'm not an ORM/SQL pro myself, so if I were doing this, I would just 
> cache/denoralize the last value onto the device whenever there's a new log.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/747c80db-b8db-4d1b-8c85-74a8a36bb945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the difference between running manage.py and ./manage.py?

2014-08-03 Thread Javier Guerra Giraldez
On Sun, Aug 3, 2014 at 9:03 PM, Malik Rumi  wrote:
> Is this a Linux thing?


on it's about the PATH variable.  it's usually considered less safe to
include '.' (the current directory) in PATH.  Of course, that doesn't
stop MS to put it right in the head of the default PATH value.


-- 
Javier

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFkDaoTdg8b_YQtnnrxjYF7sjp1zy8n%2BEt53Bz8qawcXouKoiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the difference between running manage.py and ./manage.py?

2014-08-03 Thread Lachlan Musicman
Not really, it's a Nix thing (ie, OSX and BSD as well as linux).

Basically, if you set the file to be executable (chmod +x) then
./filename is a way of executing using the default file association
(.py is python usually).

The ./ bit indicates "look in the folder we are in" - if the file is
not in the folder you run it from, you will need to use the full path.

In other words, the difference is merely one of execution, both give
the same result, since it's two ways of doing the same thing.

cheers
L.

On 4 August 2014 12:03, Malik Rumi  wrote:
> Is this a Linux thing?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4b5c91a6-3ee8-4855-96fb-011e87d10d7d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
You have to be really clever to come up with a genuinely dangerous
thought. I am disheartened that people can be clever enough to do that
and not clever enough to do the obvious thing and KEEP THEIR IDIOT
MOUTHS SHUT about it, because it is much more important to sound
intelligent when talking to your friends.
This post was STUPID.
---
The Most Terrifying Thought Experiment of All Time
http://www.slate.com/articles/technology/bitwise/2014/07/roko_s_basilisk_the_most_terrifying_thought_experiment_of_all_time.html

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGBeqiP897oPV%2BCrLXjngav1JAv7A6W9Mr9jMc24spq%2Bhh%3DM%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


What is the difference between running manage.py and ./manage.py?

2014-08-03 Thread Malik Rumi
Is this a Linux thing?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4b5c91a6-3ee8-4855-96fb-011e87d10d7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django-socketio fails - even in example project - appreciate a clue

2014-08-03 Thread Arthur Alvim
I was trying to do some example too but using gevent+socket.io .


-- Atenciosamente
-  Arthur Alvim [ arth.al...@gmail.com ]

IFPE - Tecnólogo em Análise e Desenvolvimento de Sistemas
UFPE CIn - Mestre em Ciência da Computação

"Partilha os teus conhecimentos. É a forma de conseguires a imortalidade."
Dalai Lama



2014-08-03 12:57 GMT-03:00 esatterwh...@wi.rr.com :

> The error sound pretty simple. You user doesn't have the required
> permission to bind to port 834. You,ll either need to run it a sudden or
> change the port it runs on to a higher port.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1dc6fba7-986d-4f43-b4d1-77e316375348%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANjJ3%3DMtB7cOq%3Dgx54uH8o3v3RQeQ2XSuhAT2ezajexN2KX_8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help:ImportError: No module named django

2014-08-03 Thread New Django User
Matt,

This is what I got in Windows PowerShell:

C:\Anaconda\python.exe: can't open file '2.7.6': [Errno 2] No such file or 
directory.

Thanks.

Xuan

On Thursday, July 24, 2014 4:07:26 PM UTC-4, Matt Gushee wrote:
>
> Hi, Liu Xuan-- 
>
> What result do you get when you do the following? 
>
> Python 2.7.6 
>
> >>> import sys 
> >>> sys.path 
>
> On Thu, Jul 24, 2014 at 1:23 PM, New Django User  > wrote: 
> > Hi, I have problems with Django in windows 7. 
> > 
> > I installed Django using Windows Powershell: 
> > 
> > PS C:\Python27> pip install django 
> > Requirement already satisfied (use --upgrade to upgrade): django in 
> > c:\anaconda\lib\site-package. 
> > 
> > However, when I run "import django" in Python 2.7.6 shell, it showed the 
> > following error message: 
> > 
> > Traceback (most recent call last): 
> >   File "", line 1, in  
> > import django 
> > ImportError: No module named django 
> > 
> > I searched over the internet and did not find useful information. 
> > 
> > Please help. 
> > 
> > Many thanks in advance. 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to django-users...@googlegroups.com . 
> > To post to this group, send email to django...@googlegroups.com 
> . 
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/b30d3b18-c728-4bd5-8a72-874dd5a065b3%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/350f3ced-e463-48e9-9309-c307a28a06fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help:ImportError: No module named django

2014-08-03 Thread New Django User
Matt,

If I typed python in Windows Powershell, I got the following:

Python 2.7.6 | Anaconda 1.9.1 (32-bit)| (default, Nov 11 2013, 10:50:31) 
[MSC v.1500 32 bit (Intel)] on win 32
Type "help", "copyright", "credits" or "license" for more information.

Thanks.

Xuan  


On Thursday, July 24, 2014 4:07:26 PM UTC-4, Matt Gushee wrote:
>
> Hi, Liu Xuan-- 
>
> What result do you get when you do the following? 
>
> Python 2.7.6 
>
> >>> import sys 
> >>> sys.path 
>
> On Thu, Jul 24, 2014 at 1:23 PM, New Django User  > wrote: 
> > Hi, I have problems with Django in windows 7. 
> > 
> > I installed Django using Windows Powershell: 
> > 
> > PS C:\Python27> pip install django 
> > Requirement already satisfied (use --upgrade to upgrade): django in 
> > c:\anaconda\lib\site-package. 
> > 
> > However, when I run "import django" in Python 2.7.6 shell, it showed the 
> > following error message: 
> > 
> > Traceback (most recent call last): 
> >   File "", line 1, in  
> > import django 
> > ImportError: No module named django 
> > 
> > I searched over the internet and did not find useful information. 
> > 
> > Please help. 
> > 
> > Many thanks in advance. 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to django-users...@googlegroups.com . 
> > To post to this group, send email to django...@googlegroups.com 
> . 
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/b30d3b18-c728-4bd5-8a72-874dd5a065b3%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2c7930d2-1e34-42c9-b9ad-3fefcf97c8a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django-socketio fails - even in example project - appreciate a clue

2014-08-03 Thread esatterwh...@wi.rr.com
The error sound pretty simple. You user doesn't have the required permission to 
bind to port 834. You,ll either need to run it a sudden or change the port it 
runs on to a higher port.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1dc6fba7-986d-4f43-b4d1-77e316375348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to modify subpackage in django project

2014-08-03 Thread Chong Li


I am running into a problem that I need to change a subpakcage of a big 
third party package. the big package, lets say foo, includes many 
subpackages, and I want to modify one of them, lets say bar. After weighing 
many options, I decide to dynamically change sys.modules when my django 
project starts. What i do is like this:

INSTALLED_APP=(...)
import sys, myproject.mybar #mybar is the the modified version
sys.modules['foo.bar']=myproject.mybar

This works fine in most cases, and whenever "from foo.bar import x,y,z" 
happens, it can be redirected to myproject.mybar. However, somewhere in the 
foo package, there is an import syntax like

import foo.bar.x
user = foo.bar.x.get_user(request)

This causes a "'module' object has no attribute" exception. Mybar package 
does have x module and get_user() method, and I am not sure why this 
happened. Anyone can help me to point me out what i miss here, also any 
suggestion to do what I am trying to achieve (modifying a subpackage) in a 
more pythonic and djangonic way?

P.S. the foo package is really big, and I dont want to include all of it in 
myproject. Thank for your help in advance Python community ( :

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/04da6770-0bc5-4a52-b7a8-3388a294457b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Modify a subpackage behavior

2014-08-03 Thread Chong Li


I am running into a problem that I need to change a subpakcage of a big 
third party package in django. the big package, lets say foo, includes many 
subpackages, and I want to modify one of them, lets say bar. After weighing 
many options, I decide to dynamically change sys.modules when my django 
project starts. What i do is like this:

INSTALLED_APP=(...)
import sys, myproject.mybar #mybar is the the modified version
sys.modules['foo.bar']=myproject.mybar

This works fine in most cases, and whenever "from foo.bar import x,y,z" 
happens, it can be redirected to myproject.mybar. However, somewhere in the 
foo package, there is an import syntax like

import foo.bar.x
user = foo.bar.x.get_user(request)

This causes a "'module' object has no attribute" exception. Mybar package 
does have x module and get_user() method, and I am not sure why this 
happened. Anyone can help me to point me out what i miss here, also any 
suggestion to do what I am trying to achieve (modifying a subpackage) in a 
more pythonic and djangonic way?

P.S. the foo package is really big, and I dont want to include all of it in 
myproject. Thank for your help in advance Python community ( :

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c93c88a2-8764-444d-8ecf-c950c975e92b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Going throught the Django tutorial help pls

2014-08-03 Thread Babatunde Akinyanmi
Perhaps you should show your model definition and the complete traceback.

A wild guess though, did you syncdb?
On 2 Aug 2014 20:23, "Michael Carey"  wrote:

> FieldError at /polls/
>
> Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date, 
> question
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>   Request Method:GETRequest URL:http://127.0.0.1:8000/polls/Django
> Version:1.6.5Exception Type:FieldErrorException Value:
>
> Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date, 
> question
>
> Exception 
> Location:/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py
> in names_to_path, line 1283Python Executable:/usr/bin/pythonPython
> Version:2.7.6Python Path:
>
> ['/home/michael/workspace/new/mysite',
>  '/usr/lib/python2.7',
>  '/usr/lib/python2.7/plat-x86_64-linux-gnu',
>  '/usr/lib/python2.7/lib-tk',
>  '/usr/lib/python2.7/lib-old',
>  '/usr/lib/python2.7/lib-dynload',
>  '/usr/local/lib/python2.7/dist-packages',
>  '/usr/lib/python2.7/dist-packages',
>  '/usr/lib/python2.7/dist-packages/PILcompat',
>  '/usr/lib/python2.7/dist-packages/gst-0.10',
>  '/usr/lib/python2.7/dist-packages/gtk-2.0',
>  '/usr/lib/pymodules/python2.7',
>  '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']
>
> Server time:Sat, 2 Aug 2014 19:20:54 +
>
> Thank you
>
> Michael C
>
> On Sunday, 3 August 2014 00:27:53 UTC+10, Collin Anderson wrote:
>>
>> What does the error say?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3af5d757-f76c-40ac-ab54-f2ff64aa69c2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BWjgXMao%3DmjCfsMdQer9pmZ3ZCDmW%2BDZQ5eEqyC6%3DjcQK1etQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Image upload problem with UserProfile and my form

2014-08-03 Thread Pepsodent Cola
Hi,
No luck the image still points to the wrong location.  There was a link 
however when clicked it says this.

Page not found (404)
 Request Method: GET  Request URL: http://127.0.0.1:8000*/accounts/profile/*
1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif
I'm suspecting it's how my url confs are setup that is causing this 
problem.  But I can't wrap my brain around this issue and make sense why my 
uploaded files are being redirected to the wrong link.


http://127.0.0.1:8000/accounts/profile/>" method="post" 
enctype="multipart/form-data">Likes cheese: Favourite hamster name: Avatar: 
Currently: http://127.0.0.1:8000/accounts/profile/1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif>">1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif
  ClearChange: http://127.0.0.1:8000/static/userprofile/uploaded_files/>" 
width="200">Currently: http://127.0.0.1:8000/accounts/profile/1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif>">1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif
  ClearChange: 



/Django/navi/userprofile/templates/userprofile/profile.html

Profile

{% for field in form %}
{{ field.error }}
{% endfor %}

{% csrf_token %}
{{ form.as_p }}

{% if form.avatar %}

{% endif %}

{{ form.avatar }}



/Django/navi/navi/urls.py

urlpatterns = patterns('',
url(r'^navi_polls/', include('navi_polls.urls', 
namespace="navi_polls")),
url(r'^accounts/', include('userprofile.urls', 
namespace="userprofile")),

# User auth urls
url(r'^accounts/login/$', 'navi.views.login'),
url(r'^accounts/auth/$', 'navi.views.auth_view'),
url(r'^accounts/logout/$', 'navi.views.logout'),
url(r'^accounts/loggedin/$', 'navi.views.loggedin'),
url(r'^accounts/invalid/$', 'navi.views.invalid_login'),


/Django/navi/userprofile/urls.py

from django.conf.urls import patterns, include, url
from userprofile import views
#___

urlpatterns = patterns('',
#url(r'^profile/$', 'userprofile.views.user_profile'),
url(r'^profile/$', views.user_profile, name='user_profile'),
)



/Django/navi/userprofile/views.py

from django.shortcuts import render_to_response
from django.http import HttpResponseRedirect
from django.core.context_processors import csrf
from forms import UserProfileForm
from django.contrib.auth.decorators import login_required
#___

@login_required
def user_profile(request):
if request.method == 'POST':
form = UserProfileForm(request.POST, request.FILES, 
instance=request.user.profile)
if form.is_valid():
form.save()
return HttpResponseRedirect('/accounts/loggedin')
else:
user = request.user
profile = user.profile
form = UserProfileForm(instance=profile)

args = {}
args.update(csrf(request))

args['form'] = form

return render_to_response('userprofile/profile.html', args)
#___




Can anybody see why I'm getting this link
http://127.0.0.1:8000*/accounts/profile/*
1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif

instead of this link where my uploaded image is located?

http://127.0.0.1:8000*/static/userprofile/uploaded_files/* 
1406912993_56_tumblr_m5xo9h5X3E1qgfdhto1_500.gif
 













On Friday, August 1, 2014 5:19:54 PM UTC+2, Collin Anderson wrote:
>
> This looks wrong to me:
>  
>
>> 
>>
>>
> so maybe, rearranging your code a bit:
> {% if form.avatar %}
> 
> {% endif %}
>
> {{ form.avatar }}
>
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cde32210-20ce-40d5-bdd7-37211f0e9927%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django-socketio fails - even in example project - appreciate a clue

2014-08-03 Thread Antony Gelberg
Hi all, I'm relatively new to django, and trying to implement a basic 
proof-of-concept with django-socketio.

I saw this error in the app that I was writing, and only after a while 
banging my head against the wall, realized that it wasn't a problem in my 
code. The same error happens when running the example project. Following 
are the console errors, with the browser console errors at the end.

Can anyone point me in the right direction?  I raised an issue on github 
and emailed the author of django-socketio, but he apparently can't help.


• [ThinkPad-R61:~/anan/git/anan/customer-web/django/example_project] antony 
(socketio) $ python 
/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django
_socketio/example_project/manage.py runserver_socketio

SocketIOServer running on 127.0.0.1:9000

FAILED to start flash policy server: [Errno 13] Permission denied: 
('0.0.0.0', 843)
Traceback (most recent call last):
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/greenlet.py",
 
line 327, in run
result = self._run(*self.args, **self.kwargs)
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../socketio/server.py",
 
line 49, in handle
handler.handle()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/pywsgi.py",
 
line 184, in handle
result = self.handle_one_request()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/pywsgi.py",
 
line 321, in handle_one_request
self.handle_one_response()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../socketio/handler.py",
 
line 58, in handle_one_response
self.handle_one_response(call_wsgi_app=False)
TypeError: handle_one_response() got an unexpected keyword argument 
'call_wsgi_app'
>( failed with TypeError

127.0.0.1 - - [2014-08-03 03:35:15] "GET / HTTP/1.1" 200 1233 0.023364
127.0.0.1 - - [2014-08-03 03:35:16] "GET /static/css/chat.css HTTP/1.1" 200 
900 0.007484
127.0.0.1 - - [2014-08-03 03:35:29] "GET /asdasd HTTP/1.1" 200 2761 0.013064
127.0.0.1 - - [2014-08-03 03:35:29] "GET /static/css/chat.css HTTP/1.1" 200 
900 0.001331
127.0.0.1 - - [2014-08-03 03:35:29] "GET /static/js/socket.io.js HTTP/1.1" 
200 64468 0.067194
127.0.0.1 - - [2014-08-03 03:35:29] "GET /static/js/chat.js HTTP/1.1" 200 
3239 0.013320
Traceback (most recent call last):
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/greenlet.py",
 
line 327, in run
result = self._run(*self.args, **self.kwargs)
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../socketio/server.py",
 
line 49, in handle
handler.handle()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/pywsgi.py",
 
line 184, in handle
result = self.handle_one_request()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../gevent/pywsgi.py",
 
line 321, in handle_one_request
self.handle_one_response()
File 
"/home/antony/virtualenvs/env1/lib/python2.7/site-packages/django_socketio/example_project/../../socketio/handler.py",
 
line 58, in handle_one_response
self.handle_one_response(call_wsgi_app=False)
TypeError: handle_one_response() got an unexpected keyword argument 
'call_wsgi_app'
>( failed with TypeError

Browser errors:
WebSocket connection to 'ws://localhost:9000/socket.io/websocket' failed: 
Connection closed before receiving a handshake response socket.io.js:395
GET http://localhost:9000/socket.io/xhr-polling//1407054935109 
net::ERR_EMPTY_RESPONSE socket.io.js:653

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8c294213-8c48-4a9c-b0ac-0ed7b592c0e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.