Skip to content

Commit

Permalink
sqlalchemy migration issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamkou committed Jan 18, 2022
1 parent 95d5fc4 commit e62fbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitmostwanted/blueprints/repo_trending.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ def list_by_range(rng):
query = query.add_columns(db.null())
else:
query = UserAttitude.join_by_user_and_repo(query, g.user.id, Repo.id)\
.add_columns(UserAttitude.attitude)
.with_entities(model, UserAttitude.attitude)

return render_template('index.html', entries=query, languages=Repo.language_distinct(), rng=rng)

0 comments on commit e62fbce

Please sign in to comment.