Commit 576e8b62 authored by Michal Petrucha's avatar Michal Petrucha Committed by Tim Graham
Browse files

[1.9.x] Fixed typo in GenericRelatedObjectManager.add() error message.

Backport of cb65e62c from master
parent 799e81ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -535,7 +535,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)