Re: Proposal: OpenLayers.js and shipping it in django.contrib.gis statics

2013-05-27 Thread Claude Paroz
Le lundi 27 mai 2013 07:38:54 UTC+2, Carl Meyer a écrit : > > Hi Kamil, > > On 05/26/2013 05:39 PM, Kamil Gałuszka wrote: > > Hi Django developers! > > > > This is my first time here posting, so if I'm wrong please forgive me :) > > I wanna learn as much as possible about django developmen

Testing generated SQL under different backends

2013-05-27 Thread Shai Berger
Hi all, I'm working on fixing some failing tests under Oracle, and I ran into commands_sql.tests.SQLCommandsTestCase.test_sql_all() which collects the sql_all command's output, and verifies it is as expected. It includes, among others, these two lines: # PostgreSQL creates

Re: Testing generated SQL under different backends

2013-05-27 Thread Carl Meyer
Hi Shai, On 05/27/2013 09:26 AM, Shai Berger wrote: > I'm working on fixing some failing tests under Oracle, and I ran into > > commands_sql.tests.SQLCommandsTestCase.test_sql_all() > > which collects the sql_all command's output, and verifies it is as expected. > It includes, among other

Re: Testing generated SQL under different backends

2013-05-27 Thread Shai Berger
Hi Carl, On Monday 27 May 2013 19:37:55 Carl Meyer wrote: > Hi Shai, > > On 05/27/2013 09:26 AM, Shai Berger wrote: > > I'm working on fixing some failing tests under Oracle, and I ran into > > > > commands_sql.tests.SQLCommandsTestCase.test_sql_all() > > > > [...] > > > > For now, I will

Re: Reopening/Refixing #20246

2013-05-27 Thread Claude Paroz
Le dimanche 26 mai 2013 à 01:19 -0700, Florian Apolloner a écrit : > Hi, > > On Sunday, May 19, 2013 8:18:48 PM UTC+2, Claude Paroz wrote: > I'm not completely sure. The narrow space should certainly be > used between a number and its unit symbol (kg, cm, Mb, etc.). > So yo

Why can't you have a list in a model?

2013-05-27 Thread Cody Scott
Why can't you store lists in a model? You can create another model and use a foreign key to that. But if you just want to put one CharField in that model and that model doesn't really have a name that fits well with your app, you should be able to just specify that you are going to have a list

Re: Why can't you have a list in a model?

2013-05-27 Thread Aymeric Augustin
On 27 mai 2013, at 21:10, Cody Scott wrote: > Why can't you store lists in a model? Hello Cody, This question really belongs to django-users. Short answer -- of course you can store lists in a model. Use a custom model field. Your database may have a suitable column type to back such a field

Re: Testing generated SQL under different backends

2013-05-27 Thread Anssi Kääriäinen
On 27 touko, 20:15, Shai Berger wrote: > Hi Carl, > > On Monday 27 May 2013 19:37:55 Carl Meyer wrote: > > > > > > > > > > > Hi Shai, > > > On 05/27/2013 09:26 AM, Shai Berger wrote: > > > I'm working on fixing some failing tests under Oracle, and I ran into > > > >       commands_sql.tests.SQLCom