1. 09 Jul, 2016 1 commit
  2. 05 Jul, 2016 1 commit
  3. 04 Jul, 2016 1 commit
  4. 29 Jun, 2016 1 commit
  5. 18 Jun, 2016 1 commit
  6. 17 Jun, 2016 6 commits
  7. 16 Jun, 2016 2 commits
  8. 14 Jun, 2016 1 commit
  9. 13 Jun, 2016 3 commits
  10. 10 Jun, 2016 2 commits
  11. 09 Jun, 2016 2 commits
  12. 08 Jun, 2016 1 commit
  13. 02 Jun, 2016 3 commits
  14. 31 May, 2016 1 commit
  15. 27 May, 2016 3 commits
  16. 19 Apr, 2016 4 commits
  17. 08 Feb, 2016 1 commit
  18. 29 Jan, 2016 1 commit
  19. 26 Jan, 2016 1 commit
  20. 12 Jan, 2016 2 commits
    • Jamesie Pic's avatar
      Test representatives list · 832e7e33
      Jamesie Pic authored
      832e7e33
    • Jamesie Pic's avatar
      Fresh start on the data model · e1e714be
      Jamesie Pic authored
      This is completely backward-incompatible and was rushed before the
      release - nobody was going to pay the interrest on the technical debt
      this commit remove to support migrations since nobody has an instance in
      production.
      
      Memopol{Representative,Vote,Dossier} subclasses are gone. Django model
      inheritance is fun but comes at a price - hacks like
      create_child_instance_from_parent would end up everywhere. Use a simple
      one to one relation when you don't intend to have several subclasses of
      a model which is the case here.
      
      Country and current mandates are not pre-calculated and stored in the
      database anymore, instead they are pre-fetched which requires
      django-representatives>=0.0.7
      
      Score related code was rewritten in votes.models, along with the
      Recommendation model. We're still not calculating it on the fly here
      because that would require some SQL backflips which will take a bit of
      time to do properly.
      e1e714be