diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-29 19:19:19 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-29 19:19:34 +0100 |
commit | 15c58b1d1b3ee6972ed70de7ce77d39999344673 (patch) | |
tree | a181c8722efb3f8c8ea19529237468ad24f16a74 /ishtar_common/models.py | |
parent | 36928455883bd9366afe8bbd0c48076866df5802 (diff) | |
download | Ishtar-15c58b1d1b3ee6972ed70de7ce77d39999344673.tar.bz2 Ishtar-15c58b1d1b3ee6972ed70de7ce77d39999344673.zip |
SRS: add auth_name to SRS model
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
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") |