summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-09-29 02:43:19 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-09-29 02:43:19 +0200
commitdf2405cb949e268dda4c880d2685054c0eab4a80 (patch)
treee27f01bf29b9fe16dfccc157f2a1f2d6fcb872e4 /archaeological_context_records/models.py
parentfa03f91834500f7589ba1912a681227186d7974e (diff)
downloadIshtar-df2405cb949e268dda4c880d2685054c0eab4a80.tar.bz2
Ishtar-df2405cb949e268dda4c880d2685054c0eab4a80.zip
Display dynamicaly large tables in windows
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 9c5cf52f4..d86d4aaa9 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -19,7 +19,6 @@
from django.conf import settings
from django.contrib.gis.db import models
-from django.core.exceptions import ValidationError
from django.core.urlresolvers import reverse
from django.db.models.signals import post_delete
from django.utils.translation import ugettext_lazy as _, ugettext, pgettext
@@ -284,6 +283,7 @@ class RelationType(GeneralRelationType):
verbose_name_plural = _(u"Relation types")
ordering = ('order',)
+
class RecordRelations(GeneralRecordRelations, models.Model):
left_record = models.ForeignKey(ContextRecord,
related_name='right_relations')