Kaydet (Commit) cb65e62c authored tarafından Michal Petrucha's avatar Michal Petrucha Kaydeden (comit) Tim Graham

Fixed typo in GenericRelatedObjectManager.add() error message.

üst e47b5225
......@@ -574,7 +574,7 @@ def create_generic_related_manager(superclass, rel):
if obj._state.adding or obj._state.db != db:
raise ValueError(
"%r instance isn't saved. Use bulk=False or save "
"the object first. but must be." % obj
"the object first." % obj
)
check_and_update_obj(obj)
pks.append(obj.pk)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment