diff --git a/alyx/alyx/__init__.py b/alyx/alyx/__init__.py index 63a4afcc..8a8fc681 100644 --- a/alyx/alyx/__init__.py +++ b/alyx/alyx/__init__.py @@ -1 +1 @@ -VERSION = __version__ = '3.0.1' +VERSION = __version__ = '3.0.2' diff --git a/alyx/subjects/admin.py b/alyx/subjects/admin.py index 7a8ab709..4a058574 100755 --- a/alyx/subjects/admin.py +++ b/alyx/subjects/admin.py @@ -20,6 +20,7 @@ ) from actions.models import ( Surgery, Session, OtherAction, WaterAdministration, WaterRestriction, Weighing) +from actions.admin import SurgeryActionForm from misc.models import LabMember, Housing from misc.admin import NoteInline @@ -234,6 +235,7 @@ def has_add_permission(self, request, obj=None): class AddSurgeryInline(SurgeryInline): + form = SurgeryActionForm readonly_fields = () show_change_link = False verbose_name = "New surgery"