I mean disable an app for all users.
It would be nicer to have a button (On/Off) in the admin.
Thank you

2011/9/14 Anthony <abasta...@gmail.com>

> Are you saying you want to block specific users, or completely take the
> entire application offline? If the latter, you could redirect all traffic to
> a static page with a message, either by configuring your web server, making
> a change in routes.py, or adding a redirect() call in a model file of the
> app (assuming the app error doesn't occur before the redirect call).
>
> Anthony
>
>
> On Wednesday, September 14, 2011 12:41:31 PM UTC-4, Ramos wrote:
>>
>> Hello
>> i dont know if this is a stupid question but imagine i have 10 apps
>> running in my server
>>
>> If i detect an error in one app and want do avoid users from loggin in
>> what do i do.
>> What is the best practice?
>>
>> A button"Enable/Disable" would be great in admin
>>
>>
>>
>> Thank you
>>
>> António
>>
>

Reply via email to