Fixed bug in akvo.rsr.middleware.PartnerSitesRouterMiddleware whereby Site objects were created with more than 3 elements in domain.
Added akvo.rsr.views.can_donate_to_project predicate.
Updated akvo.rsr.views.donate to pass in partner site-aware return URLs to Mollie and PayPal.
Removed redundant imports from akvo.rsr.views. Added missing comma to akvo.rsr.views.donate.
Deferred assignment of base_site_url in akvo.rsr.views.donate to where it is needed.
Fixed PayPal notify_url in akvo.rsr.views.donate.
Cleaned up akvo.rsr.views.mollie_thanks and paypal_thanks and added akvo.rsr.views_partner_sites.project.ProjectDonationThanksView.
Merge branch 'develop' of github.com:akvo/akvo-rsr into feature/donation-fixes
Simplified return context in akvo.rsr.views.mollie_thanks and paypal_thanks.
Added missing template_name to akvo.rsr.views_partner_sites.project.ProjectDonationThanksView.
Fixed inheritance super() call in ProjectDonationThanksView.
Added missing BaseView import to akvo.rsr.views_partner_sites.project.
Added missing akvo.rsr.models.Invoice import to akvo.rsr.views_partner_sites.project and fixed transaction_id typo.
Removed redundant import from akvo.rsr.views_partner_sites.project.
Added ProjectDonationThanksView to akvo.rsr.views_partner_sites.project.__all__.
Added templates/partner_sites/project/donate/donate_thanks.html template. Currently just a copy of its RSR cousin.
Fixed bugs in akvo.rsr.views.mollie_thanks and paypal_thanks.
Fixed return URLs for PayPal and Mollie payment endpoints.
Standardised code indentation style in akvo.rsr.views.donate.
Removed redundant donation settings. Updated akvo.rsr.views.donate to use settings.DOMAIN_NAME instead of hardcoded string.