Re: unique_together question

2008-12-09 Thread bruno desthuilliers
On 9 déc, 13:20, Alex Jonsson <[EMAIL PROTECTED]> wrote: > Hey everyone, > > My model looks like the following: > > http://dpaste.com/97293/ > > An album has a release date for every format, and one format can only > have one release date per album. Hopefully you get what I'm trying to > achieve

unique_together question

2008-12-09 Thread Alex Jonsson
Hey everyone, My model looks like the following: http://dpaste.com/97293/ An album has a release date for every format, and one format can only have one release date per album. Hopefully you get what I'm trying to achieve here ;) The thing is though, that in my Album model I specify a

Re: Unique_together question

2007-03-12 Thread Rob J Goedman
Thanks Ramiro, Thanks for the pointer and hint. Next time I will search there first. That indeed gets it through the validator. The error seems to be caught by some lower level (db?), but for now that works. Thanks again, Rob On Mar 11, 2007, at 4:45 PM, Ramiro Morales wrote: > > On

Re: Unique_together question

2007-03-11 Thread Ramiro Morales
On 3/11/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: > > Any reason I can't combine these 2 fields to get a valid 'isUniqueday_sch' > in the AddManipulator? Full traceback at the end of the email. > This is a problem already reported. See tickets #526 and #2470, there is a workaround described

Unique_together question

2007-03-11 Thread Rob J Goedman
Earlier I noticed the problem with edit_inline which is now fixed in svn. By the way, this was the very 1st time in 5 months a daily sync with svn caused an issue. Hats off to the developers! As I mentioned, I am trying to make 'day' and 'sch' unique_together in class ScheduleDayOfTheWeek.