Revert "Update polls.py": we don't have "db"

This reverts commit f397b78633cb882753fc506fc2f1a2f9cf5904ce.