Luke Plant wrote:
> On Sat, 26 Nov 2005 00:51:47 +0000 Robert Wittams wrote:
>
>
>>The only other thing - I can envisage situtions in which the callable
>>to be added to all the generic views is dynamically generated in
>>settings.py, so maybe check for callables in REQUEST_PROCESSORS, and
>>leave them as they are.
>
>
> global_settings.py would then have to import the default processor
> functions, which seems to be against the way the rest of the module
> works -- I followed the pattern of middleware and template
> loaders. I'm not sure why they are done the way they are, but I
> presumed it was due to problems with importing etc. Comments Adrian?
>
> Luke
>
I meant allowing strings and also callables. tbh, the callables could
just be imported from another module where they are generated, so its
not important.