Skip to content

Commit

Permalink
bugfix subjects/projects admin refactor removed sessions.project field
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jul 1, 2024
1 parent e94bc74 commit d3300f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alyx/alyx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = __version__ = '3.0.0'
VERSION = __version__ = '3.0.1'
2 changes: 1 addition & 1 deletion alyx/subjects/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def users_l(self, obj):
users_l.short_description = 'users'

def sessions_count(self, obj):
return Session.objects.filter(project=obj).count()
return Session.objects.filter(projects=obj).count()
sessions_count.short_description = '# sessions'

def subjects_count(self, obj):
Expand Down

0 comments on commit d3300f7

Please sign in to comment.