Re: django.test.TestCase and settings.DATABASE_SUPPORTS_TRANSACTIONS

2009-03-25 Thread Karen Tracey
On Wed, Mar 25, 2009 at 5:26 PM, Duc Nguyen wrote: > In django.test.TestCase, there is a check for > settings.DATABASE_SUPPORTS_TRANSACTIONS but no check to make sure this > setting even exists. This causes nosetests to bail out with an > AttributeError. What is the correct way to fix this? Ho

django.test.TestCase and settings.DATABASE_SUPPORTS_TRANSACTIONS

2009-03-25 Thread Duc Nguyen
In django.test.TestCase, there is a check for settings.DATABASE_SUPPORTS_TRANSACTIONS but no check to make sure this setting even exists. This causes nosetests to bail out with an AttributeError. What is the correct way to fix this? How do we check that our db type actually supports transactions

GeometryField doesn't honor the required attribute

2009-03-25 Thread Fidel Ramos
django.contrib.gis.forms.fields.GeometryField completely ignores the required attribute in its clean() method. Instead it checks if the model field is nullable, which needlessly ties forms and model code. I realized this because I have a model with a non-nullable GeometryField but need a non-requi

Re: Schema Evolution

2009-03-25 Thread Dougal Matthews
And here is a list of various schema evolution projects; http://code.djangoproject.com/wiki/SchemaEvolution Dougal --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2009/3/25 Alex Gaynor : > > > On Wed, Mar 25, 2009 at 10:28 AM, dononyx wrote: >> >> Was there any thought about h

Re: Schema Evolution

2009-03-25 Thread Alex Gaynor
On Wed, Mar 25, 2009 at 10:28 AM, dononyx wrote: > > Was there any thought about having migration tied to production or > development? It would be cool to have schema evolution in development > mode work like Rails but then lock it off in production mode, or just > have a flag set to True or Fals

Schema Evolution

2009-03-25 Thread dononyx
Was there any thought about having migration tied to production or development? It would be cool to have schema evolution in development mode work like Rails but then lock it off in production mode, or just have a flag set to True or False. Any Comments or Ideas?? --~--~-~--~~

Re: pagination django

2009-03-25 Thread Justin Lilly
This is a question more suited for django-users as this mailing list is for the development of the core framework. -justin On Mar 25, 2009, at 6:15 AM, nicemira wrote: > > please friends, > how can I paginate my product with this method: I want to do a newline > after every two products

pagination django

2009-03-25 Thread nicemira
please friends, how can I paginate my product with this method: I want to do a newline after every two products please,answer me as soon as possible --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers"