Skip to content

Commit 00e92e7

Browse files
committed
Make imports absolute in 'babel' templatetags
This is needed because 'babel' file in templatetags named same as third-party package 'babel', so it confuses Python a bit
1 parent 9d9e2a7 commit 00e92e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_babel/templatetags/babel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
from __future__ import absolute_import
23

34
from babel import support as babel_support
45
from babel import core as babel_core

0 commit comments

Comments
 (0)