Commit e2acbfb6 authored by Luke's avatar Luke Committed by Tim Graham
Browse files

[1.8.x] Fixed mistake in Model.from_db() example.

Backport of fd869cce from master
parent 342074f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ are loaded from the database::
        instance._state.adding = False
        instance._state.db = db
        # customization to store the original field values on the instance
        instance._loaded_values = zip(field_names, values)
        instance._loaded_values = dict(zip(field_names, values))
        return instance

    def save(self, *args, **kwargs):