Re: New to Django; Question

2013-12-30 Thread Andrew Farrell
Cognitive advice: Since you are new to django and since figuring out how to deal with the legacy database interacting with the django ORM, ignore templates at first. Focus on writing a function that you can run from `manage.py shell` to extract and display the data, even in just a python dictionary

Re: New to Django; Question

2013-12-30 Thread Karthik Kannan
There seems to be no correlation between your User model and your Data model. And also I dont see a field called patientid in any of the forms. Do you mean userid by any chance? So think about your schema and rebuild your models. The way to display data in Django is through templates. You coul

Re: Which Real Time Communications Protocol

2013-12-30 Thread Mario R. Osorio
Thanks! Dtb/Gby === Mario R. Osorio "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford http://www.google.com/profiles/nimbiotics On Fri, Dec 20, 2013 at 12:49 PM, Bill Freeman wrote: > WebSockets runs over standard HTTP or HTTPS connections, get

Re: Which Real Time Communications Protocol

2013-12-30 Thread Nikolas Stevenson-Molnar
I would suggest using another framework or tool for this specific purpose. For example, I use the nginx-push-stream-module (https://github.com/wandenberg/nginx-push-stream-module) and have been happy with it. It's very lightweight, easy to use, and supports WebSockets and Long Polling. When I have

New to Django; Question

2013-12-30 Thread Frank Jaworski
I am new to Django; I have a legacy database I do not control with some information regarding a user and a database on my server with data pertaining to something that user is doing. I want to take some information from each database via the ORM methodology Django employs and display it on a w

django_tables2: TemplateSyntaxError: Caught ValueError while rendering: Expected table or queryset

2013-12-30 Thread Elan Kugelmass
Hi everyone. I'm getting an error when I {% render_table table %} -- it seems that my calls to tables I define (i.e. table = CourseTable() are not actually returning Table objects. I've posted more on StackOverflow for the sake of exposure and accessibility to people who may run into this prob

Re: Which Real Time Communications Protocol

2013-12-30 Thread Bill Freeman
I'm not aware of one, but I haven't been doing much Django lately. I guess nobody else reading this thread knows of one either. There may be a problem making websockets be passed through by (the current implementations of) mod_wsgi, Apache httpd, nginx, etc. I'm using it with Tornado (which supp

howto copy content of upload image into BytesIO object (without create tmp file)

2013-12-30 Thread Hanz
Hello all, i need process uploaded image on the fly - in memory. I don't need create temp file. I try something like... . userform = UserForm(request.POST, request.FILES) raw_image = userform.cleaned_data["image"] content = BytesIO(raw_image.read()) image = Img.open(content) . But i re

Pycharm professtional can't create django project in linux mint 16

2013-12-30 Thread Михаил Доронин
Here is my problem -- 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,