From b6e4c9accd7deb73dec7244834261897b5da4920 Mon Sep 17 00:00:00 2001 From: Joe Geldart Date: Sat, 1 Sep 2018 02:55:39 +0100 Subject: [PATCH] Coding late means forgetting imports --- quantity_field/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/quantity_field/base.py b/quantity_field/base.py index f827a84..8ec3948 100644 --- a/quantity_field/base.py +++ b/quantity_field/base.py @@ -3,6 +3,7 @@ from functools import reduce from django.utils.encoding import python_2_unicode_compatible from quantity_field import ureg +Quantity = ureg.Quantity @python_2_unicode_compatible