Skip to content

Commit

Permalink
fix relative import bug
Browse files Browse the repository at this point in the history
  • Loading branch information
defrex committed Jun 11, 2014
1 parent 372067b commit d6a0484
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__/
.Python
.venv
env/
tests/.env/
bin/
build/
develop-eggs/
Expand Down
4 changes: 3 additions & 1 deletion resize/templatetags/resize.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

from __future__ import absolute_import, print_function, unicode_literals

import logging

from django.conf import settings
from django.template import Library
from django.contrib.sites.models import Site
from django.contrib.staticfiles.finders import find as find_file

from resize.utils import resize_image, get_new_size, calc_height, calc_width
from resize.utils import resize_image, calc_height, calc_width

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit d6a0484

Please sign in to comment.