Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsukhrin committed Jul 6, 2023
1 parent b5275e5 commit 211a1cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions daterangefilter/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _

try:
from django.utils.translation import ugettext_lazy as _
except ImportError:
from django.utils.translation import gettext_lazy as _

class DateRangeFilterAppConfig(AppConfig):
name = 'daterangefilter'
Expand Down

0 comments on commit 211a1cf

Please sign in to comment.