Register the Party model in the admin site
The command 'populate_database' now also adds an independent party
Fix #42. Party must be indicated in the Candidate model as well as the form
Fix #48, a typo in the Candidate model
Fix #45. Change URLs to candidate_detail pages to use get_absolute_url
Apply DRY principal to vote and unvote Candidate function

Now it the same function with added boolean argument - upvote.

Some changes in the views and the templates accordingly...
Templates refactoring. What's in the navbar is now part of base.html
Fix #44. Vote by AJAX calls
A lot of voting ajax and template refactoring. Fix #34

Take a look at issue for instruction of how to create other candidate voting buttons.
Adding vote / unvote button to candidate view (could be done better visually). Fix #36
Adding login_required_ajax function to views

And redirect from the js uppon AJAX call of non authenticated users.

Fix #50.
Fixing a crucial bug in voting js
Changing html attribute to much clearer approach
Fix #51. Candidate history always returns also the current number of votes