Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline add surgery implant weight validation #870

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading