diff --git a/alyx/alyx/__init__.py b/alyx/alyx/__init__.py index 4f2184c6..63a4afcc 100644 --- a/alyx/alyx/__init__.py +++ b/alyx/alyx/__init__.py @@ -1 +1 @@ -VERSION = __version__ = '3.0.0' +VERSION = __version__ = '3.0.1' diff --git a/alyx/subjects/admin.py b/alyx/subjects/admin.py index f232a326..7a8ab709 100755 --- a/alyx/subjects/admin.py +++ b/alyx/subjects/admin.py @@ -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):