to do this in less queries, you could do:

    perms = Permission.objects.filter(codename__in=('add_tag', 'change_tag'))
    self.user.user_permissions.add(*perms)