Re: Multi-Table Inheritance and fixtures

2008-05-19 Thread Ziling Zhao
Well, the main problem with the parent table being saved independently of the children tables is that you could have a fixture that only had the children, seperate from the parents. So if you load that fixture, they would have no parents to associate to. I submitted a patch to my bug that seems to

HTML in Admin.fields 'description'

2008-05-19 Thread Luke Plant
The 'description' option in Admin.fields is currently broken with respect to the documentation, due to autoescape. See: http://www.djangoproject.com/documentation/model-api/#description I propose fixing the documentation, not the code, since you can just use 'mark_safe' if you don't want it to

Re: Patch #7521: Template if/ifequal/ifnotequal evaluate despite condition

2008-05-19 Thread Joshua 'jag' Ginsberg
What about a {% loadif %} tag -- if this is an issue specific to templatetag library loading, would that be more acceptable for inclusion? -jag On Sat, May 17, 2008 at 6:47 PM, Honza Král <[EMAIL PROTECTED]> wrote: > On Sun, May 18, 2008 at 12:23 AM, Joshua 'jag' Ginsberg > <[EMAIL PROTECTED]> w

Re: PostgreSQL 8.3 and casting

2008-05-19 Thread Karen Tracey
On Mon, May 19, 2008 at 9:50 AM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > Prior to PostgreSQL 8.3, non-text types were implicitly converted to text. > > This allowed things like the following: > > class Log(models.Model): > actor = models.CharField(...) > > > >>> Log.objects.filter(actor=1).c

Re: Many to Many Inline Editing

2008-05-19 Thread Yuri Baburov
Hi, something like this? http://www.djangosnippets.org/snippets/747/ Hi Mon, May 19, 2008 at 8:53 PM, JReynolds <[EMAIL PROTECTED]> wrote: > > I posted this on django-users before and didn't get much response, so > asking here... > > I have seen this posted a few times on the list here, but it a

Many to Many Inline Editing

2008-05-19 Thread JReynolds
I posted this on django-users before and didn't get much response, so asking here... I have seen this posted a few times on the list here, but it always seems to become a discussion about the many to many implementation and move away from making it work as the one to many inline editing works in

PostgreSQL 8.3 and casting

2008-05-19 Thread Jeremy Dunck
Prior to PostgreSQL 8.3, non-text types were implicitly converted to text. This allowed things like the following: class Log(models.Model): actor = models.CharField(...) >>> Log.objects.filter(actor=1).count() === With 8.3, this fails because there's no operator between text and integer.