Source code django/contrib/postgres/fields/utils.py

1
2
3
class AttributeSetter:
    def __init__(self, name, value):
        setattr(self, name, value)