Re: file upload fails with slow network bandwith in django

2016-02-15 Thread James Schneider
On Mon, Feb 15, 2016 at 10:41 PM, Pablo Conesa wrote: > Thanks James. answers in line: > > El lunes, 15 de febrero de 2016, 23:04:48 (UTC+1), James Schneider > escribió: >> >> >> >> On Mon, Feb 15, 2016 at 10:20 AM, Pablo Conesa >> wrote: >> >>>

Re: [Recipe] Rename a model and its table

2016-02-15 Thread Mike Dewhirst
The trouble with fixtures has been fixed. It was caused by the existence of group_permissions including Oldname. As soon as I removed them everything is sweetness and light :) I'm still interested in comments on sequences and indexes using Oldname embedded in their names even though it

Re: file upload fails with slow network bandwith in django

2016-02-15 Thread Pablo Conesa
Thanks James. answers in line: El lunes, 15 de febrero de 2016, 23:04:48 (UTC+1), James Schneider escribió: > > > > On Mon, Feb 15, 2016 at 10:20 AM, Pablo Conesa > wrote: > >> Hi, I posted this in stackoverflow. Now I'm trying here: >>

Re: file upload fails with slow network bandwith in django

2016-02-15 Thread Pablo Conesa
Thanks Ezequiel, answer below. El lunes, 15 de febrero de 2016, 21:22:23 (UTC+1), Ezequiel Bertti escribió: > > You are using de runserver to develop and getting this error or something > like gunicorn and nginx? > In production we are using gunicorn, locally I don't use guinicorn, and in

Re: Migrations in Django 1.9: verbose_name and verbose_name_plural

2016-02-15 Thread Tim Graham
Interesting I have no idea how that's related but I'm glad it's solved for you. On Monday, February 15, 2016 at 4:17:37 PM UTC-5, Marco Badan wrote: > > oh, it was you that fixed the warning in django-cms so... thanks again > > Il giorno lunedì 15 febbraio 2016 22:06:05 UTC+1, Marco Badan ha

Re: file upload fails with slow network bandwith in django

2016-02-15 Thread James Schneider
On Mon, Feb 15, 2016 at 10:20 AM, Pablo Conesa wrote: > Hi, I posted this in stackoverflow. Now I'm trying here: > http://stackoverflow.com/questions/35413649/file-upload-fails-with-slow-network-bandwith-in-django > > I've got a code working fine that uploads a file to

Re: Migrations in Django 1.9: verbose_name and verbose_name_plural

2016-02-15 Thread Marco Badan
oh, it was you that fixed the warning in django-cms so... thanks again Il giorno lunedì 15 febbraio 2016 22:06:05 UTC+1, Marco Badan ha scritto: > > ok, > > I was able to isolate the url: it's from django cms 3.2.1. > The django cms devs have already fixed the warning >

Re: Migrations in Django 1.9: verbose_name and verbose_name_plural

2016-02-15 Thread Marco Badan
ok, I was able to isolate the url: it's from django cms 3.2.1. The django cms devs have already fixed the warning (*django.conf.urls.patterns() is deprecated and will be removed in Django 1.10*) in develop branch. I get the unwanted behaviour if I put back the warning using

Re: file upload fails with slow network bandwith in django

2016-02-15 Thread Ezequiel Bertti
You are using de runserver to develop and getting this error or something like gunicorn and nginx? Because the nginx have some time to proccess each request. http://stackoverflow.com/questions/6816215/gunicorn-nginx-timeout-problem On Mon, Feb 15, 2016 at 4:20 PM, Pablo Conesa

file upload fails with slow network bandwith in django

2016-02-15 Thread Pablo Conesa
Hi, I posted this in stackoverflow. Now I'm trying here: http://stackoverflow.com/questions/35413649/file-upload-fails-with-slow-network-bandwith-in-django I've got a code working fine that uploads a file to a DJANGO server. It works fine on a fine connection. Now if, using fiddler to

Re: Tutorial 5 (Testing) seems to have an error

2016-02-15 Thread Tim Graham
It looks like you have a Python path problem or that your project isn't structured correctly such that the model is being registered twice. Does that mean anything to you? I'm not sure if you are also new to Python or just to Django. On Monday, February 15, 2016 at 11:16:51 AM UTC-5, Eric

Re: Data base connection problem

2016-02-15 Thread James Schneider
> > On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" wrote: >> > >> > i have made a model names STUDENT and when i run migrataion no >> migration applied but when from admin i tried to browse student i got >> following error >> >> Have you run 'manage.py makemigrations' to

Re: mathematical function and django connect

2016-02-15 Thread James Schneider
On Tue, Feb 9, 2016 at 11:47 AM, Xristos Xristoou wrote: > hello, > > > i create some python mathematical function on python idle, > i want to create website where the user import value numbers on the > function > and take the results from that. > Usually this is done through

Re: Data base connection problem

2016-02-15 Thread namal . feedback
On Sunday, February 14, 2016 at 10:48:37 AM UTC+5, James Schneider wrote: > > > On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" > wrote: > > > > i have made a model names STUDENT and when i run migrataion no > migration applied but when from admin i tried to browse student

Tutorial 5 (Testing) seems to have an error

2016-02-15 Thread Eric Livingston
I have been walking through the Tutorial for Django, and upon reaching part 5 and introducing the first test case, I get this output (the directory I put the tutorial in is called 'demo') RuntimeError: Model class demo.polls.models.Question doesn't declare an explicit app_label and isn't

Re: mathematical function and django connect

2016-02-15 Thread Xristos Xristoou
after read your toturial from the django docs and next page from the django docs i think so my python code is wrong to get in views.py, i think so get in form Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > > hello, > > > i create some python mathematical

Re: Migrations in Django 1.9: verbose_name and verbose_name_plural

2016-02-15 Thread Tim Graham
Hm, see if you can isolate which URL pattern is causing the issue. Seems like there might be a module level translation activation that's triggered when the urlpatterns are processed. On Sunday, February 14, 2016 at 6:37:58 AM UTC-5, Marco Badan wrote: > > Hi Tim, > > my models (and all my

Re: use django logging from outside

2016-02-15 Thread Det S. Pillner
On Thursday, February 11, 2016 at 1:32:51 PM UTC+1, Det S. Pillner wrote: > > > > On Saturday, January 23, 2016 at 11:38:31 AM UTC+1, James Schneider wrote: >> >> >> On Jan 20, 2016 2:35 AM, "Det S. Pillner" wrote: >> > >> > Hi all, >> > >> > I work on a django project. I

[Recipe] Rename a model and its table

2016-02-15 Thread Mike Dewhirst
I was postponing this but shouldn't have worried. Despite the complexities evident in various web recipes after googling, this is my simple recipe: Python 2.7 and 3.4, Django 1.8 and Postgres 9.3 on Windows 8.1 and Python 2.7, Django 1.8 and Postgres 9.1 on Ubuntu 12.04 1. Run all unit tests