On Mon, Jul 15, 2013 at 02:11:29PM +0200, Antonio Beamud Montero wrote: > Exists a tween like maintenance-mode in Django? > On the other hand, what's the best approach to solve this situation? > a) Directly in apache, redirecting to a static site? IMO this is the right way.
> b) Changing the routes inside the pyramid app? Modifing the route for testing has the potential risk of setting the production app wrong and forgetting some routes. Even if you do this with patches to ensure that changes will be removable clean, I presonally do not like this as you are not testing your production application, but a modified one. > I want to use pyramid app core to deliver the maintence page, and, > at the same time, only the admin staff can test the app before > publish in production mode (perhaps using user info or validating IP > addresses..). I would recommend using a staging server which runs in production mode for such testing issues. An alternative might be to run the application with the pserve command on a alternative port and do a SSH-tunnel to it to test the application before actually deploying it in production mode. ti -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
