1. 07 Aug, 2016 1 commit
  2. 13 Jun, 2016 1 commit
  3. 08 Jun, 2016 1 commit
  4. 02 Jun, 2016 2 commits
  5. 29 May, 2016 1 commit
  6. 19 Apr, 2016 1 commit
  7. 12 Jan, 2016 2 commits
    • Jamesie Pic's avatar
      a8eeff9f
    • 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
  8. 27 Jul, 2015 1 commit
  9. 23 Jul, 2015 1 commit
  10. 22 Jul, 2015 1 commit
  11. 20 Jul, 2015 1 commit
  12. 15 Jul, 2015 1 commit
    • Arnaud Fabre's avatar
      Optimizes sql queries · ce25bba4
      Arnaud Fabre authored
      Adds a bit of denormalization (main_mandate) and adds select_related()
      to query_set to reduce lazy loading in loops
      ce25bba4
  13. 09 Jul, 2015 1 commit
  14. 01 Jul, 2015 1 commit
  15. 16 Jun, 2015 1 commit