Skip to content

Commit

Permalink
Correct parameter order of named_model in docs because it does not ma…
Browse files Browse the repository at this point in the history
…tch the implementation
  • Loading branch information
blaise-io committed Sep 10, 2024
1 parent ea91d7e commit 1bed452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ For example:
@register
class JSONPayload(factory.Factory):
class Meta:
model = named_model(dict, "JSONPayload")
model = named_model("JSONPayload", dict)
name = "foo"
Expand Down

0 comments on commit 1bed452

Please sign in to comment.