using django with socketio

2012-03-07 Thread dobrysmak
Hi guys, long story short, i'm using* django-socketio* with my app on nginx + uwsgi + tcp_module and i cant get it to work with the browser on production server. Here's short conf Any ideas how to get it to wor

tornadio2 cached results

2012-03-15 Thread dobrysmak
Hi, i'm running tornadio2 server with socket.io and i run into a problem, when i'm getting some data from db via django's orm the socket server doesn't want to get new fresh data from db, every time the event occurs. He's just keeping the same data from begging. Does anyone had same problem? B

Re: tornadio2 cached results

2012-03-15 Thread dobrysmak
Figured out that tornadio2 or tornado is somehow keepeing django's orm data in memory pulling that same data on each db request. When i'm reffering to mysql database via python MySQLdb, making connection each request. i'm getting updated results, that's ok. How to force tornadio2/tornado to ge

Content type raw_id_fields

2012-04-20 Thread dobrysmak
Hi, i have got a question, been figthing with this pass few days. How to make raw_id_fields in content type model in admin backend? Or how to display formset for picked content type in inline forms? Cheers! -- You received this message because you are subscribed to the Google Groups "Django us

'NoneType' object has no attribute 'datetime' bug?

2012-07-14 Thread dobrysmak
Hi guys, i have run into this. Traceback: File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_v

Re: 'NoneType' object has no attribute 'datetime' bug?

2012-07-16 Thread dobrysmak
gt; >>> from datetime import datetime, time, date > >>> print datetime.now() > 2012-07-14 14:14:17.897023 > >>> print datetime.combine(date.today(),time(19,30)) > 2012-07-14 19:30:00 > >>> > > o/ > > > 2012/7/14 dobrysmak