summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/fields/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/postgres/fields/utils.py')
-rw-r--r--django/contrib/postgres/fields/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/contrib/postgres/fields/utils.py b/django/contrib/postgres/fields/utils.py
new file mode 100644
index 0000000000..424a78f521
--- /dev/null
+++ b/django/contrib/postgres/fields/utils.py
@@ -0,0 +1,3 @@
+class AttributeSetter(object):
+ def __init__(self, name, value):
+ setattr(self, name, value)