def is_devserver():
    #~ print 20130315, sys.argv[1]
    return len(sys.argv) > 1 and sys.argv[1] in (
        'runserver', 'testserver', 'test', "makescreenshots")
Returns `True` if this process is running as a development server.
dataset/ETHPy150Open lsaffre/lino/lino/core/utils.py/is_devserver