The updated middlware and environment setup stuff is all checked in now. Still some clean-up to do, and we can certianly make this more configurable, and make the config names easier.
There's also some redundancy in the configuration options, but I don't yet know how I feel about that. On Sun, Jun 15, 2008 at 11:10 PM, Mark Ramm <[EMAIL PROTECTED]> wrote: > I removed a bunch of code from the TG2 project quickstart template. > in the config directory we had middleware.py, which setup the entire > middleware stack for your TG2 application. 90+ percent of the time > people are not going to mess with this, but we've already changed it > several times on users (in development), creating backwards > compatibility issues inside their templates. > > So, I've now got it set up to configure the middleware that needs to > be there automatically for you in the framework. Users who want to > take on the responsibility of managing their own wsgi stack can do so > easily enough, and beginning users don't have to worry about it at > all. > > My plan is to setup the environment.py file in the same way if there > are no objections. > > In both cases, there may be common configuration settings that we want > to address in the framework setup. I think the identity stuff that's > in there now provides a reasonably good example of what we can do. > > This should not break existing TG2 project's at all, because they will > just not use the new automatic setup stuff. But for new project it > will make upgrading from one TG version to another much simpler. > > -- > Mark Ramm-Christensen > email: mark at compoundthinking dot com > blog: www.compoundthinking.com/blog > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
