Skip to content

Commit

Permalink
Fixed django#373 -- Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
csirmazbendeguz committed Nov 16, 2024
1 parent d243bb6 commit e4b9f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/howto/composite-primary-key.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Composite primary keys in forms
keys (composite or not).

This means using :class:`~django.forms.ModelForm` with a composite
primary key may lead to unexpected behaviour.
primary key may lead to unexpected behavior.

To avoid issues, make sure :attr:`~django.db.models.Field.editable`
is set to ``False`` on all primary key fields.

0 comments on commit e4b9f5f

Please sign in to comment.