Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread Russell Keith-Magee
On 07/03/2009, at 2:17 AM, Ivan Sagalaev wrote: > > Russell Keith-Magee wrote: >> Semmel and yourself both hang your arguments on the claim that Monday >> as the start of the week is the "most supported" option, or the "most >> common" option. I simply don't see any evidence that this is the >>

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread dc
Just my two cents. There is at least one other part of the framework which considers Sunday as the first day: django.utils.dateformat.DateFormat (and hence some template tags). Personally i find it annoying but at least this behaviour is consistent over the framework and that's good. --~--~---

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread Ivan Sagalaev
Russell Keith-Magee wrote: > Semmel and yourself both hang your arguments on the claim that Monday > as the start of the week is the "most supported" option, or the "most > common" option. I simply don't see any evidence that this is the case. I was always under an impression that Sunday is consi

Re: Google Summer of Code 2009

2009-03-06 Thread Jacob Kaplan-Moss
On Fri, Mar 6, 2009 at 4:07 AM, Petar Marić wrote: > Will Django be participating in the Google SoC event this year? We'll be applying, yes. Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers

Re: TransactionMiddleware and cursor.execute

2009-03-06 Thread Jeremy Dunck
On Fri, Mar 6, 2009 at 9:34 AM, Karen Tracey wrote: > On Fri, Mar 6, 2009 at 10:28 AM, Jeremy Dunck wrote: >> >> The Django docs for TransactionMiddleware state: >> "When a request starts, Django starts a transaction. If the response >> is produced without problems, Django commits any pending >>

Re: TransactionMiddleware and cursor.execute

2009-03-06 Thread Karen Tracey
On Fri, Mar 6, 2009 at 10:28 AM, Jeremy Dunck wrote: > > The Django docs for TransactionMiddleware state: > "When a request starts, Django starts a transaction. If the response > is produced without problems, Django commits any pending > transactions." > > This is apparently not actually true. >

TransactionMiddleware and cursor.execute

2009-03-06 Thread Jeremy Dunck
The Django docs for TransactionMiddleware state: "When a request starts, Django starts a transaction. If the response is produced without problems, Django commits any pending transactions." This is apparently not actually true. I have some code using cursor.execute while doing no operations usin

Re: 'week_day' starting with sunday as first day of a week need to be fixed

2009-03-06 Thread Bob Thomas
Would it be possible to use cron's weekday numbering? Would that make anyone happy? 0-7, with both 0 and 7 representing Sunday. That would at least avoid the %7 part of the workaround (from the user's perspective, anyway). The "Monday as first day" camp could use 1-7 for their week numbering, an

Re: models: blank, null and oracle

2009-03-06 Thread Evgeniy Ivanov
On Mar 5, 11:08 pm, Ian Kelly wrote: > On Thu, Mar 5, 2009 at 11:57 AM, Evgeniy Ivanov > wrote: > > > On Mar 5, 6:57 pm, Ian Kelly wrote: > >> On Thu, Mar 5, 2009 at 8:37 AM, Evgeniy Ivanov > >> wrote: > > >> > Hi! > > >> > I have such code: > >> > "name = models.CharField(max_length=32)".

Declarative fixtures for django

2009-03-06 Thread Ben Ford
Hi All, I'd like to introduce a little project I've been working on with Kumar McMillan of farmdev.com. He's the author of the fixturelibrary which allows a declarative approach to writing database fixtures. I've written django support for it so that you can u

Google Summer of Code 2009

2009-03-06 Thread Petar Marić
Will Django be participating in the Google SoC event this year? Regards, -- Petar Marić *e-mail: petar.ma...@gmail.com *mobile: +381 (64) 6122467 *icq: 224720322 *jabber: petar.ma...@gmail.com *web: http://www.petarmaric.com/ --~--~-~--~~~---~--~~ You received t