From 15c58b1d1b3ee6972ed70de7ce77d39999344673 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 29 Jan 2017 19:19:19 +0100 Subject: SRS: add auth_name to SRS model --- ishtar_common/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 7015c70a5..f87c1b8de 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2977,7 +2977,9 @@ post_delete.connect(post_save_cache, sender=OperationType) class SpatialReferenceSystem(GeneralType): order = models.IntegerField(_(u"Order"), default=10) - srid = models.IntegerField(_(u"SRID")) + auth_name = models.CharField( + _(u"Authority name"), default='EPSG', max_length=256) + srid = models.IntegerField(_(u"Authority SRID")) class Meta: verbose_name = _(u"Spatial reference system") -- cgit v1.2.3