Skip to content

Commit

Permalink
Merge pull request #179 from nansencenter/hotfix_deprecated_ugettext
Browse files Browse the repository at this point in the history
Replace deprecated ugettext by gettext
  • Loading branch information
aperrin66 authored Apr 10, 2024
2 parents 396bea7 + 729d424 commit 55fe6eb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions geospaas/catalog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,17 @@

from django.db import models
from django.contrib.gis.db import models as geomodels
from django.core.exceptions import PermissionDenied
from django.core.files.storage import FileSystemStorage
from django.core.validators import URLValidator
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from django.core.validators import RegexValidator

from geospaas.utils.utils import validate_uri
from geospaas.vocabularies.models import Parameter
from geospaas.vocabularies.models import ScienceKeyword
from geospaas.vocabularies.models import Platform
from geospaas.vocabularies.models import Instrument
from geospaas.vocabularies.models import ISOTopicCategory
from geospaas.vocabularies.models import DataCenter
from geospaas.vocabularies.models import Location as GCMDLocation
from geospaas.vocabularies.models import HorizontalDataResolution
from geospaas.vocabularies.models import VerticalDataResolution
from geospaas.vocabularies.models import TemporalDataResolution

from geospaas.catalog.managers import SourceManager
from geospaas.catalog.managers import DatasetURIManager
Expand Down

0 comments on commit 55fe6eb

Please sign in to comment.