<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_fixtures():
 """Populate a database with data from fixtures."""


    if local("pwd", capture=True) == PRODUCTION_DOCUMENT_ROOT:
        abort("Refusing to automatically load fixtures into production database!")

    if not confirm("Are you sure you want to load all fixtures? This could have unintended consequences if the database is not empty."):
        abort("Aborted.")

    files = [
        "fixtures/users/users.json", "fixtures/eighth/sponsors.json", "fixtures/eighth/rooms.json", "fixtures/eighth/blocks.json",
        "fixtures/eighth/activities.json", "fixtures/eighth/scheduled_activities.json", "fixtures/eighth/signups.json",
        "fixtures/announcements/announcements.json"
    ]

    for f in files:
        local("./manage.py loaddata " + f)