aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/jams/index.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-20 23:29:17 +0100
committerGravatar GitHub <[email protected]>2018-05-20 23:29:17 +0100
commit449d52caf4010ed112f1928bf6b5234bcfb9a339 (patch)
tree3ce59258a68fcb4174610b157f3a3ae9c50be02a /pysite/views/main/jams/index.py
parentTests directory (#73) (diff)
Privacy/Usability updates (#75)
* Use less intrusive oauth scopes, add login redirect method * Remove debugging prints, add missing __init__ * Work towards new privacy policy * Fix judging state icons on code jam management page * Jammer profile retraction and punishments based on jam status * Linting * [Jams] Deny profile saving for users < 13 years, and finish removal page * Fix tests * Clean up and address Volcyy's review * Add proper login redirection to require_roles decorator * Fix template is_staff() and add staff link to navigation * Address lemon's review * Linting * Privacy page formatting * Privacy page formatting
Diffstat (limited to 'pysite/views/main/jams/index.py')
-rw-r--r--pysite/views/main/jams/index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/main/jams/index.py b/pysite/views/main/jams/index.py
index 6d066117..8d34fa50 100644
--- a/pysite/views/main/jams/index.py
+++ b/pysite/views/main/jams/index.py
@@ -16,6 +16,6 @@ class JamsIndexView(RouteView, DBMixin):
.order_by(rethinkdb.desc("number"))
.limit(5)
)
+
jams = self.db.run(query, coerce=list)
- print(jams)
return self.render("main/jams/index.html", jams=jams)