Django: Use config_from_object(string) so that the object does not have to be serialized (Issue #1603)