Re: Ticket #399 -- bigint support

2009-12-12 Thread Martin Omander
In my very first Django app I ran into the int limitation and my app wouldn't work. It was quite confusing for a newbie Django user, as every other toolkit and database I have ever used supported long integers. My app integrates with Twitter, and it was the id field of tweets from Twitter that bro

Re: Running unit tests when you can't create a new database

2009-12-09 Thread Martin Omander
Sean > > On Wed, Dec 9, 2009 at 2:16 PM, Martin Omander > wrote: > > Russ, > > > The method you describe sounds like the preferred way. It's cleaner to > > add a new test runner module than to modify existing Django code. I > > really like it. > >

Re: Running unit tests when you can't create a new database

2009-12-09 Thread Martin Omander
Russ, The method you describe sounds like the preferred way. It's cleaner to add a new test runner module than to modify existing Django code. I really like it. But as you say, it's not obvious how to do this. I'd like to do a write-up of how this is done, for the common use case where you don't

Re: Running unit tests when you can't create a new database

2009-12-08 Thread Martin Omander
when I test against another database than MySql. /Martin On Dec 8, 6:21 pm, rebus_ wrote: > 2009/12/9 Martin Omander : > > > > > Hi all, > > > How about letting Django users run unit tests without creating a new > > test database? > > > To use Django'

Running unit tests when you can't create a new database

2009-12-08 Thread Martin Omander
Hi all, How about letting Django users run unit tests without creating a new test database? To use Django's built-in unit test harness, you have to have database creation privileges. Not all web hosts give users those privileges. For example, Webfaction, an excellent commercial Django host by all