def get_safe_settings():
    settings_dict = {}
    for k in dir(settings):
        if k.isupper():
            settings_dict[k] = cleanse_setting(k, getattr(settings, k))
    return settings_dict
Returns a DHParameterNumbers.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/views/debug.py/get_safe_settings--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/cryptography-1.3.1/src/cryptography/hazmat/primitives/asymmetric/dh.py/DHParametersWithSerialization.parameter_numbers