In views.py you can see how to import and fetch members from the database.