creating a resuable app version of django polls