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 | a96dc38e8d7c679db601fd3ede30559e4af71767 (patch) | |
| tree | a181c8722efb3f8c8ea19529237468ad24f16a74 /ishtar_common/models.py | |
| parent | 63eee04606a30cce069fad90862a1cfed86b68dd (diff) | |
| download | Ishtar-a96dc38e8d7c679db601fd3ede30559e4af71767.tar.bz2 Ishtar-a96dc38e8d7c679db601fd3ede30559e4af71767.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")  | 
