diff --git a/helpdesk/migrations/0020_depickle_user_settings.py b/helpdesk/migrations/0020_depickle_user_settings.py index d5a550a1..4315c8fd 100644 --- a/helpdesk/migrations/0020_depickle_user_settings.py +++ b/helpdesk/migrations/0020_depickle_user_settings.py @@ -24,7 +24,7 @@ def move_old_values(apps, schema_editor): if user_settings.settings_pickled: settings_dict = unpickle_settings(user_settings.settings_pickled) for setting, value in settings_dict.items(): - user_settings.__set_attr__(setting, value) + user_settings.__setattr__(setting, value) class Migration(migrations.Migration):