aboutsummaryrefslogtreecommitdiff
path: root/rpki/fields.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-09-19 04:20:08 +0000
committerRob Austein <sra@hactrn.net>2014-09-19 04:20:08 +0000
commitbcd211ab6dfb899733d04edaa909115ae7e83c3e (patch)
treed1fc77460878fdfdcc444f7e9bcc91898477bb0d /rpki/fields.py
parent3f4f7622dbbf2943a83ac70d819d3837e845f7f6 (diff)
Convert pubd to use Django ORM and lxml.etree.
smoketest temporarily broken as it doesn't know anything about Django. svn path=/branches/tk705/; revision=5961
Diffstat (limited to 'rpki/fields.py')
-rw-r--r--rpki/fields.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpki/fields.py b/rpki/fields.py
index 3d859aaa..1ca6c893 100644
--- a/rpki/fields.py
+++ b/rpki/fields.py
@@ -24,12 +24,16 @@ the only sane text representation would just be the Base64 encoding of
the DER and thus would add no value.
"""
+import logging
+
from django.db import models
from south.modelsinspector import add_introspection_rules
import rpki.x509
import rpki.sundial
+logger = logging.getLogger(__name__)
+
class EnumField(models.PositiveSmallIntegerField):
"""