Skip to content

Commit

Permalink
Change readonly fields
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoest committed Jan 2, 2025
1 parent bbeab18 commit f0a9af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S1/waitinglists/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class SessionAdmin(admin.ModelAdmin):
# Other configurations like list_display, search_fields, etc.
readonly_fields = ("attendance_done", "open_signup")

def formfield_for_foreignkey(self, db_field, request, **kwargs):
if db_field.name == "mentor":
Expand Down

0 comments on commit f0a9af7

Please sign in to comment.