Re: Django 1.5 runserver hangs in Chrome

2013-07-10 Thread Nikolas Stevenson-Molnar
After a lot of dead ends, I finally found the problem! The cause is the switch to using CompatibleStreamingHttpResponse in the django.views.static.server view. Previously, the view simply read the whole file into memory and returned a regular HTTP response. The StreamingHTTPResponse class uses the

Re: Pip type error.

2013-07-10 Thread Mark Liu
Googled this problem and came here. I was also using powershell but everything worked after I converted the requirments file to utf-8 On Wednesday, May 1, 2013 8:43:13 AM UTC-4, il...@app-loader.com wrote: > > Brilliant ! > I was using powershell. > When I switched back to good old cmd.exe pip fr

Re: Django 1.5 runserver hangs in Chrome

2013-07-10 Thread Nikolas Stevenson-Molnar
Hi Sven, Thanks for the suggestion. Unfortunately, this didn't resolve the issue for me. Chrom is still hanging on that page. It loads most of the resources, then hangs indefinitely while requesting several images. If I close the tab, I get a stack trace in the Django log (connection aborted) whi

exploring django framework source code

2013-07-10 Thread Ahmad
Hi every body, I'd like to know how to explore the django framework source code like if you are reading a book, like where to start, where to get a general overview of the code organization, where to head next and so on until you become familiar with all of the framework parts. Thanks in advanc

.vimrc file for django development

2013-07-10 Thread modhaffer rahmani
Anyone got a good .vimrc file for Django development under Linux?? -- 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

Django Tastypie: Getting MultipleObjects returned

2013-07-10 Thread Rene Zelaya
Hey everyone, While using the Tastypie API, I have been getting a MultipleObjectsReturned error somehow when obj_get gets called. I feed a Resource URI to a ToManyField for one of the resources and somehow I get this error. This has me really frustrated, since I thought that by giving it a UR

Re: django graphics

2013-07-10 Thread carlos
Hi the other library js for graphis is http://www.flotcharts.org/ On Wed, Jul 10, 2013 at 9:17 AM, pa xapy wrote: > why you do this with django? > there so many js libraries > i think that for the web purposes its best solution than generate graphics > with python. > personally, i'm using the h

Total number of flags on a comment (django.contrib.comment)

2013-07-10 Thread surya
I am using Django 1.4.5, using django.contrib.comments.. Is there any field or model method that gives total number of flags on a comment? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving email

Re: django graphics

2013-07-10 Thread pa xapy
why you do this with django? there so many js libraries i think that for the web purposes its best solution than generate graphics with python. personally, i'm using the http://www.highcharts.com/ - flexible and easy to start. great docs. On Tuesday, July 9, 2013 5:30:45 PM UTC+4, amanjot kaur w

Re: django graphics

2013-07-10 Thread Derek
Good advice about using forms to capture the plot parameters - be aware that you do not need to save anything to disk (unless you want/need to). There's an example here of creating one and returning it directly via the response: http://wiki.scipy.org/Cookbook/Matplotlib/Django On Tuesday, 9

Re: Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-10 Thread Bob Barcklay
HI Ramiro, Perhaps I am confused. I just want to mark these strings for extraction by makemessages(xgettext) in one component of my system and store them in a database. Another component will do the actual translation by calling pgettext.I can probably use the _lazy methods to achieve the

Re: DJANGOֹ_SETTINGS_MODULE different from folder name

2013-07-10 Thread Bill Freeman
It's all about sys.path and the semantics of import. DJANGO_SETTINGS_MODULE must be a name that can be imported. Any dots in the string divide the name into a number of names. The first name must be findable via sys.path. If it is the last name, it can name a .py file. Otherwise it must be the

Deploying Django on ISS with Python 3.3

2013-07-10 Thread Robert Jonathan Šimon
How can i deploy Django with Python 3.3 on windows? it would be great if on IIS -- 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...@googleg

DJANGOֹ_SETTINGS_MODULE different from folder name

2013-07-10 Thread Etay Cohen-Solal
It's kinda noob question, but I have a working dev project inside directory /var/www/django/myproject os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings' I want to change the folder of the project to something like: /var/www/websites/il_co_project_name_www but i get 500 Internal Server E

Re: soundx algo in search

2013-07-10 Thread Amirouche Boubekki
Héllo again, It sound like not something I would do in my application but in a separate daemon. Basically what you need is call a fonction that will return a list of names. The «function» is initialised with a certains number of names that it can return, is that it ? 2013/7/9 Harjot Mann > Be