Re: newforms-admin and urls (reverse/etc)

2008-07-08 Thread [EMAIL PROTECTED]
I have begun work on the suggestion I made, the current diff is here: http://dpaste.com/61309/, right now the main issue I have is that currently AdminSite.root() sets self.root_path which I believe is no longer necessary(although I could be wrong), but I'm not 100% sure what it is used for(if it

Re: newforms-admin and urls (reverse/etc)

2008-07-07 Thread [EMAIL PROTECTED]
My suggestion is that we make AdminSite have an attr that is actually a getter that dynamically generates a module like object that just has a urlpatterns attr so it's basically a dynamically generated URLConf and have each ModelAdmin cobble together it's portion and the AdminSite can put it all t

newforms-admin and urls (reverse/etc)

2008-07-07 Thread Collin Grady
I know it's kind of late to bring this up, but I haven't been using the branch, so it hasn't been at the front of my mind at all :) newforms-admin currently uses a url match of ^admin/(.*) which sort of kills reversing - you can't just pass the parts in, you have to manually build the string f