I am using TurboGears 2... The configuration value "base_config.serve_static" can be set in app_cfg.py file. I would prefere if there was a way to set it in 'development.ini' or 'production.ini'. The reason is, because I consider this option rather deployment specific than application configuration specific.
Use case: I am developing my application on my computer and don't want to set up Apache alias for my working 'public' directory (multiple branches, etc...), so I am using paster server. Than I want to my application to production machine, which is set up to have served static files by Apache (for performance reasons). Is there any possibility to map some values from app_cfg.py to development.ini, or production.ini? Could anyone help, please? Maybe I've missed something in the documentation, but I can't get it right... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

