Re: Question about manipulators with foreign keys

2006-06-04 Thread Jorge Gajon
Oh I see, I always get a little confused with forward/backward/whatever :) I don't know for sure if this would answer your question, I did something like this in a project (assuming we have a blog object with a set of entries): class MyChangeManipulator(forms.Manipulator): def __init__(self, b

Re: Question about manipulators with foreign keys

2006-06-04 Thread Tim Keating
The ability of model A to return appropriate records in model B, where B has a foreign key pointing to A (ergo a one to many relationship where A is the one and B is the many). As described here: http://www.djangoproject.com/documentation/db_api/#backward --~--~-~--~~~---

Re: Question about manipulators with foreign keys

2006-06-04 Thread Jorge Gajon
What do you mean by backwards foreign key? On 6/4/06, Tim Keating <[EMAIL PROTECTED]> wrote: > > Is there an existing way to create, say, a ChangeManipulator that > includes a backwards foreign key relationship? > > TK --~--~-~--~~~---~--~~ You received this messa

Unit Tests for Filters

2006-06-04 Thread John Sutherland
Hi all, I'm writing unit tests for a couple of template filters I 'enhanced', but am having a little trouble getting them to work. My patch is ticket number #2053 (http://code.djangoproject.com/ticket/ 2053) -- I've written the unit tests for timesince, and they work fine, but the timeuntil

Question about manipulators with foreign keys

2006-06-04 Thread Tim Keating
Is there an existing way to create, say, a ChangeManipulator that includes a backwards foreign key relationship? TK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group,

Re: bug with joins and &, or am I simply confused?

2006-06-04 Thread akaihola
I've opened another bug which could have something to do with this: http://code.djangoproject.com/ticket/2080 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send em

Re: Must app names in django be unique?

2006-06-04 Thread Steven Armstrong
On 06/04/06 14:00, Steven Armstrong wrote: > Hi, > > It seems that app names in django must be unique or weird things happen. > Is that correct? > Just found this [1], so sorry for the noise. I searched through the tickets, but forgot to check the mailing list archives. [1] http://groups.g

Must app names in django be unique?

2006-06-04 Thread Steven Armstrong
Hi, It seems that app names in django must be unique or weird things happen. Is that correct? I have a project called 'phc', in which I have an app called 'auth'. In this app there is a module named 'UserProfile'. So my installed apps looks like this: INSTALLED_APPS = ( 'django.contrib.a

Re: the so-called [AUDIT]

2006-06-04 Thread Ian Holsman
More likely he probably doesn't think/realise that people think of him that way. (or it's a language issue).. anyway.. on another topic.. has anyone tried tagthe.net ? it looks pretty cool. On 04/06/2006, at 7:06 PM, Kenneth Gonsalves wrote: > > > On 04-Jun-06, at 1:48 PM, Nagy Károly wrote:

Re: the so-called [AUDIT]

2006-06-04 Thread Kenneth Gonsalves
On 04-Jun-06, at 1:48 PM, Nagy Károly wrote: > I assume he has/had some other aliases (can't remember, 3-4 week > ago was > a girl nickname with same attitude) > What is the point? maybe he is doing a thesis or some sort of survey ;-) -- regards kg http://lawgon.livejournal.com http://avsa

Re: the so-called [AUDIT]

2006-06-04 Thread Nagy Károly
Kenneth Gonsalves írta: >On 03-Jun-06, at 10:37 PM, Jorge Gajon wrote: > > > >>Unbelievable how can someone spend so much time and effort on trolling >>like this. >> >>It makes you question if someone is paying him to do this, or if he >>has a serious psychological condition that deserves its o