autodiscover for contrib.sitemaps

3 views
Skip to first unread message

andybak

unread,
Dec 19, 2008, 5:01:48 AM12/19/08
to Django developers
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 approach as
admin.autodiscover?

David Cramer

unread,
Dec 20, 2008, 8:52:38 PM12/20/08
to Django developers
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.
Reply all
Reply to author
Forward
0 new messages