On Wed, 2008-09-10 at 20:40 +0100, Dan Fairs wrote: > > 2. Have a setting which lets you say "for model auth.User, use the > > get_connection method defined over here". This is made inelegant by > > the fact that settings shouldn't really contain references to actual > > function definitions, which means we would probably need to us a > > 'dotted.path.to.a.function', which is crufty. > > The admin takes a registry-based approach to associate ModelAdmin > classes with Models. Could a similar approach work here?
Oh, please, no! Registration is a very fragile process. It simply doesn't work very well. It's a bit disappointing that it's the way we have to do things that way in places in Django and if we can avoid it elsewhere that'd be nice. Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---