Skip to content

Commit

Permalink
Merge pull request #870 from cortex-lab/hotfix/3.0.2
Browse files Browse the repository at this point in the history
Inline add surgery implant weight validation
  • Loading branch information
k1o0 authored Jul 16, 2024
2 parents e37450c + 2cbfdbf commit 6758236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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.1'
VERSION = __version__ = '3.0.2'
2 changes: 2 additions & 0 deletions alyx/subjects/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 6758236

Please sign in to comment.