summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/extras.py b/lib/extras.py
index a9f5b44..5c4f5d2 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -59,6 +59,10 @@ from psycopg2._range import ( # noqa
register_range, RangeAdapter, RangeCaster)
+# Expose ipaddress-related objects
+from psycopg2._ipaddress import register_ipaddress # noqa
+
+
class DictCursorBase(_cursor):
"""Base class for all dict-like cursors."""