Skip to content

Commit

Permalink
Improve description of DISABLE_FIELD_FOR_DELETED_SELECTION setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Aug 16, 2024
1 parent 705546e commit ead1b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/django_tenant_options/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
DISABLE_FIELD_FOR_DELETED_SELECTION = _DJANGO_TENANT_OPTIONS.get("DISABLE_FIELD_FOR_DELETED_SELECTION", False)
"""bool: The behavior to use in user-facing forms when a selection was deleted by the tenant.
By default, if a selection was deleted, the user must select a new option. If this setting is True, the deleted
selection will be displayed in the form, but disabled so it cannot be changed.
By default, if a selection was deleted, the user must select a new option when updating a form. If this setting is
True, the deleted selection will be displayed in the form, but disabled so it cannot be changed.
In both cases, the deleted selection cannot be used in new forms.
"""

0 comments on commit ead1b75

Please sign in to comment.