Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
refactoring: #845 import module "coordinate_reference_systems" instea…
Browse files Browse the repository at this point in the history
…d of its members
  • Loading branch information
das-g committed May 22, 2017
1 parent 75066cf commit e9dee1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osmaxx/conversion/models.py
Expand Up @@ -11,7 +11,7 @@
from osmaxx.clipping_area.models import ClippingArea
from osmaxx.conversion.converters.converter import convert
from osmaxx.conversion.converters.converter_gis.detail_levels import DETAIL_LEVEL_CHOICES, DETAIL_LEVEL_ALL
from osmaxx.conversion.constants.coordinate_reference_systems import CRS_CHOICES
from osmaxx.conversion.constants import coordinate_reference_systems as crs


def job_directory_path(instance, filename):
Expand All @@ -22,7 +22,7 @@ class Parametrization(models.Model):
out_format = models.CharField(verbose_name=_("out format"), choices=output_format.CHOICES, max_length=100)
out_srs = models.IntegerField(
verbose_name=_("output SRS"), help_text=_("EPSG code of the output spatial reference system"),
null=True, blank=True, default=4326, choices=CRS_CHOICES
null=True, blank=True, default=4326, choices=crs.CRS_CHOICES
)
clipping_area = models.ForeignKey(ClippingArea, verbose_name=_('Clipping Area'), on_delete=models.CASCADE)
detail_level = models.IntegerField(verbose_name=_('detail level'), choices=DETAIL_LEVEL_CHOICES, default=DETAIL_LEVEL_ALL)
Expand Down

0 comments on commit e9dee1b

Please sign in to comment.