aboutsummaryrefslogtreecommitdiff
path: root/rpki/fields.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-10-08 22:24:15 +0000
committerRob Austein <sra@hactrn.net>2015-10-08 22:24:15 +0000
commit421546d23d86434190caa9bb301e5cb7e96d4889 (patch)
tree64a15a98b7bd6bf914ea3110f579b6be4982f59a /rpki/fields.py
parent9e481a0a276c170a9f7d8bbeab323da2975ccb7e (diff)
Add an initial set of rpkidb models and confirm that Django is willing
to parse them and generate migrations for them. Not actually using them for anything yet, but code still runs with this present so haven't broken anything yet.... svn path=/branches/tk705/; revision=6103
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 dab6ce14..d1025c35 100644
--- a/rpki/fields.py
+++ b/rpki/fields.py
@@ -99,6 +99,10 @@ class BlobField(models.Field):
guidelines than actual rules. But "BLOB" works.
For anything else, we just use "BLOB" and hope for the best.
+
+ NB: This field type predates Django 1.6's BinaryField. Probably
+ this should be retired in favor of BinaryField, but I'd have to
+ figure out what that does to field types that derive from this one.
"""
__metaclass__ = models.SubfieldBase