arderyp / scotuswebcites

United States Supreme Count web citation discovery, presentation, and validation
GNU General Public License v3.0
1 stars 0 forks source link

sort justices by citation average #45

Closed arderyp closed 8 years ago

arderyp commented 8 years ago
  1. add new method on justices/models.py Justice class: get_citation_average()
  2. call this in justices/views.py index()
  3. add additional loop to index() to sort by citation average
  4. adjust justices.html to user new average field instead of calculating on the fly