Re: Retrieving List of Model Names

2008-03-30 Thread jurian
I'll drop the idea of creating the 'get_all_related_model*' method. Thanks On Mar 31, 7:35 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-03-30 at 14:08 -0700, jurian wrote: > > I'm quite new to Django source so I wanted to get some advice on some > > additions I tought of mak

Re: Retrieving List of Model Names

2008-03-30 Thread Malcolm Tredinnick
On Sun, 2008-03-30 at 14:08 -0700, jurian wrote: > I'm quite new to Django source so I wanted to get some advice on some > additions I tought of making to the code base. > > My final goal is to get a list of names of the models related to a > certain model (perhaps there is a very simple way of

Re: Retrieving List of Model Names

2008-03-30 Thread [EMAIL PROTECTED]
The problem that I see with adding that specific method is that someone might then want to add get_all_related_model_modules, or get_all_related_model_verbose_names or any number of things that can be found in _meta currently. I think that the solution here is to bring your logic out of the templ

Retrieving List of Model Names

2008-03-30 Thread jurian
I'm quite new to Django source so I wanted to get some advice on some additions I tought of making to the code base. My final goal is to get a list of names of the models related to a certain model (perhaps there is a very simple way of doing this I don't know of). First I though of adding a 'ge