Re: autodiscover for contrib.sitemaps

2008-12-20 Thread David Cramer
It would be kind of neat to have some generic autodiscover functionality for this kind of stuff. Not only could you reuse it in things like sitemaps, templatetags, and admin, but it could be used by other developers for plugable systems of their own. On Dec 19, 4:01 am, andybak wrote: > I have r

autodiscover for contrib.sitemaps

2008-12-19 Thread andybak
I have recently been working on an app that was similar enough in functionality to contrib.sitemaps for me to use that code as a base. It struck me that the way you register apps with sitemaps was a little clunky and could use a bit more DRY . Is there any reason it couldn't adopt the same appro