<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def local_machine():
 """Option to do something on local machine."""

    common_conf()
    env.machine = 'local'
    env.pg_admin_role = settings.LOCAL_PG_ADMIN_ROLE
    env.db_backup_dir = settings.DJANGO_PROJECT_ROOT
    env.media_backup_dir = settings.DJANGO_PROJECT_ROOT

    # Not sure what this is good for. Not used in our fabfile.
    # env.media_root = settings.DJANGO_MEDIA_ROOT
    # env.local_db_password = settings.DJANGO_DB_PASSWORD

    env.db_role = settings.DATABASES['default']['USER']
    env.db_name = settings.DATABASES['default']['NAME']