Re: newforms-admin "plugins"

2007-06-08 Thread Marty Alchin
On 6/7/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Alternatively (and I suspect this is a variation on what Marty is > suggesting), move all the url processing bit out of __call__() and into > a function that __call__ calls. Then that function can be overridden in > the subclass. Notice th

Re: newforms-admin "plugins"

2007-06-07 Thread Malcolm Tredinnick
On Thu, 2007-06-07 at 19:07 -0500, Adrian Holovaty wrote: > On 5/28/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > > For my policy work, I'd like to be able to add in a separate URL > > handler within each model's registration, so that something like > > /admin/app/policy/ and /admin/app/model/poli

Re: newforms-admin "plugins"

2007-06-07 Thread Marty Alchin
On 6/7/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > I'm running into this problem/limitation in trying to fix > http://code.djangoproject.com/ticket/4450 -- the previous (trunk) > admin overrides the admin URLconf value for "/auth/user/" as a special > case, and newforms-admin doesn't do that

Re: newforms-admin "plugins"

2007-06-07 Thread Adrian Holovaty
On 5/28/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > For my policy work, I'd like to be able to add in a separate URL > handler within each model's registration, so that something like > /admin/app/policy/ and /admin/app/model/policy/ would give editors > customized for that location. However, I'

Re: newforms-admin "plugins"

2007-05-28 Thread Marty Alchin
On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > It seems that "extra" things on a model in whatever form they may take > are either instance-specific, in which case they are Field sub-classes > -- for database-backed data -- or methods, or they are model-specific > (e.g. django-values'

Re: newforms-admin "plugins"

2007-05-28 Thread Malcolm Tredinnick
On Tue, 2007-05-29 at 11:48 +1000, Malcolm Tredinnick wrote: > On Mon, 2007-05-28 at 21:36 -0400, Marty Alchin wrote: > > On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > Aren't you asking the wrong question here? The real issue seems to be > > > "how is admin going to handle arbitr

Re: newforms-admin "plugins"

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 21:36 -0400, Marty Alchin wrote: > On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Aren't you asking the wrong question here? The real issue seems to be > > "how is admin going to handle arbitrary Field classes that it doesn't > > otherwise know about?" > > Wel

Re: newforms-admin "plugins"

2007-05-28 Thread Marty Alchin
On 5/28/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Aren't you asking the wrong question here? The real issue seems to be > "how is admin going to handle arbitrary Field classes that it doesn't > otherwise know about?" Well, I'm not worried about Field classes. DurationField, for instance

Re: newforms-admin "plugins"

2007-05-28 Thread Malcolm Tredinnick
On Mon, 2007-05-28 at 15:55 -0400, Marty Alchin wrote: > In working with my recent contrib saga, I've been looking a bit into > newforms-admin, since it's going to be merged someday, and it looks > like it would give me some better options. However, one thing I was > hoping for doesn't seem to be