1.7 to 1.8 upgrade: test suite failing

2015-07-10 Thread tom . szpytman
Hi, I've recently tried upgrading from Django 1.7.6 to 1.8.3 but haven't been able to get my test suite to pass. My main problem is that all of the tests pass when run individually, but when run as an entire test suite, many arbitraily fail due to an *InterfaceError: connection already closed

Recommend guide to setting up a production server with Django and Python 3

2015-07-10 Thread Christian Kleineidam
Is there a recommended guide to set up a new Django enviroment with Python 3? It seems like the official guide on https://docs.djangoproject.com/en/1.8/ tells me to use a decidated server instead of letting django run the server itself but doesn't tell me how. -- You received this message beca

Re: Recommend guide to setting up a production server with Django and Python 3

2015-07-10 Thread Timothy W. Cook
This is a couple of years old but I used it for a template and it works great. http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ On Fri, Jul 10, 2015 at 8:42 AM, Christian Kleineidam < christian.kleinei...@gmail.com> wrote: > Is there a recommended guide to

Re: Recommend guide to setting up a production server with Django and Python 3

2015-07-10 Thread Daniel Roseman
On Friday, 10 July 2015 12:42:32 UTC+1, Christian Kleineidam wrote: > > Is there a recommended guide to set up a new Django enviroment with Python > 3? > It seems like the official guide on https://docs.djangoproject.com/en/1.8/ > tells me to use a decidated server instead of letting django run t

Re: 1.7 to 1.8 upgrade: test suite failing

2015-07-10 Thread Tim Graham
No ideas, but if you could bisect to find the Django commit where the problem started to appear that will probably help. On Friday, July 10, 2015 at 7:21:37 AM UTC-4, tom.sz...@eporta.com wrote: > > Hi, > > I've recently tried upgrading from Django 1.7.6 to 1.8.3 but haven't been > able to get m

Have a problem with a first Django App due to the Web Tutoral

2015-07-10 Thread Happy Data Scientist
Dear Friends ! I have an error when I tried to develop my first Django App due to the Web Tutoral: https://docs.djangoproject.com/en/1.8/intro/tutorial02/ The error is "ImportError at /admin/" -- cannot import name 'resolve_url'" for the address "http://127.0.0.1:8000/admin/"; The Django vers

ORM Query question

2015-07-10 Thread Joss Ingram
Hi, In my models I have an event index page type, which can have child event pages, each event page can be tagged (using taggit), and I want to produce a list of distinct tags used in the events that belong to that event index on the index itself. I'm using the Django CMS Wagtail, but I guess

Re: loop a ChoiceField SelectMultiple form in the view as post

2015-07-10 Thread dk
i might simplify lol i didnt even understand. after i validate and clean a ChoiceField how do i us it? does it return a directory saying whats selected? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: STATIC_URL with thumbnail_url Template Tag

2015-07-10 Thread Luis Zárate
Hi, Stephanie Your are using easy-thumbnails, right? so, are you sure that Pillow are right installed ? http://easy-thumbnails.readthedocs.org/en/latest/usage/ As I see your questions is same that this question http://stackoverflow.com/questions/12956788/how-to-thumbnail-static-files thumbnail

Annotations with nested Sums

2015-07-10 Thread Marc Aymerich
Hi, I need to do some annotations that require a nested sumation, I have Bills that have Lines that in turn have Sublines: Bill -> Line -> SubLine In order to calculate the total bill price I need to add all sublines of every line, and then all lines of a bill. queryset.annotate( total=Sum(F('

TextField in Oracle: any alternatives?

2015-07-10 Thread Robert Martin
Hi all, I have a question about best practices with storing strings in an Oracle DB. I've grown accustomed to using TextFields wherever possible, as I mainly work in Postgres and this seems to be recommended: http://stackoverflow.com/questions/7354588/django-charfield-vs-textfield However, I'm

Vaga para desenvolvedor Backend

2015-07-10 Thread Gustavo Hingel Morada
Fala galera, tudo bem? Estou postando uma vaga aqui na empresa para desenvolvedores backend. Somos uma empresa de tecnologia para Educação, toda baseada em meritocracia e possuimos um ambiente bem descontraído e de alto potencial de crescimento em Niteroi. Atualmente estamos sediados numa mansão

Re: Have a problem with a first Django App due to the Web Tutoral

2015-07-10 Thread Russell Keith-Magee
Hi, The error message by itself doesn't give us a lot to work with - it's not an error I'd normally expect to see while doing the tutorial. My first guess would be that there is something corrupted in your Django install - this might happen if you've got multiple versions of Django installed, or