Re: Schema tests and .extra queryset method

2014-05-21 Thread Shai Berger
Hi Maximiliano, The issue of case in quoted and un-quoted names in SQL is indeed a sad mess, bad decisions made in the 1960s that we still need to live with today. On Wednesday 21 May 2014 15:38:57 Maximiliano Robaina wrote: > > self.assertEqual(Author.objects.extra(where=["thing = 1"]).count()

Re: Schema tests and .extra queryset method

2014-05-21 Thread Russell Keith-Magee
Hi Maximiliano, Thanks for letting us know. If you find a problem like this, the best way to report it is to open a ticket in Trac. That way we have a permanent record of the existence of the issue, and we can mark the issue as resolved when a fix is applied to the source tree. It also allows us t

Schema tests and .extra queryset method

2014-05-21 Thread Maximiliano Robaina
Hi, Running schema tests I caught an issue, more precisely, in test_add_field_default_transform. At the end, this test method is doing: self.assertEqual(Author.objects.extra(where=["thing = 1"]).count(), 2) The problem here is what in this where clause, the "thing" field must be quoted. In fi

Re: inspectdb and non "public" schema in postgresql

2014-05-21 Thread Fabio Caritas Barrionuevo da Luz
Tomek, is exactly that. Russell, results of my tests inside dbshell: https://gist.github.com/luzfcb/d85b4012c55471fe3f71 the database that example I used is attached. inspectdb realy dont work with postgresql schema I opened the new ticket to handle this: https://code.djangoproject.com/ticket

The low down on the "Unsettings" project

2014-05-21 Thread Elena Williams
Hello, Just sending general heads up that this bit of knowledge exists, but this is Justin Myles Holmes talking about the "unsettings" project, that is the idea of removing `settings.py`. https://soundcloud.com/elena/django-news-podcast-18-may-2014#t=7m33s This is actually a really interestin