def save_model(self, request, obj, form, change):
        if not change and request.GET in 'site_id':
            obj.site = Site.objects.get(pk=request.GET['site_id'])

        obj.user = request.user
        super(SettingsAdmin, self).save_model(request, obj, form, change)
dataset/ETHPy150Open mishbahr/django-usersettings2/usersettings/admin.py/SettingsAdmin.save_model/swapped operands of `in`