Skip to content

Commit 4c625d6

Browse files
committed
fix relative import in template tags
1 parent 020473c commit 4c625d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changes
44
0.3.1 (unreleased)
55
------------------
66

7-
- Nothing changed yet.
7+
- fix relative import in template tags
88

99

1010
0.3.0 (2013-12-11)

django_babel/templatetags/babel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
except ImportError:
2020
timezone = None
2121

22-
from .middleware import get_current_locale
22+
from ..middleware import get_current_locale
2323

2424
babel = __import__('babel', {}, {}, ['core', 'support'])
2525
Format = babel.support.Format

0 commit comments

Comments
 (0)