diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 92110d15..e54c5c38 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.4.25 +------------------------------------- +2015-03-04 + +- Post-fix in the discover module (moved logging definition up). + 0.4.24 ------------------------------------- 2015-03-04 diff --git a/setup.py b/setup.py index d0ffdaea..4b7e48f4 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ for static_dir in static_dirs: for locale_dir in locale_dirs: locale_files += [os.path.join(locale_dir, f) for f in os.listdir(locale_dir)] -version = '0.4.24' +version = '0.4.25' install_requires = [ 'Pillow>=2.0.0', diff --git a/src/fobi/__init__.py b/src/fobi/__init__.py index 6d0e2228..49e99135 100644 --- a/src/fobi/__init__.py +++ b/src/fobi/__init__.py @@ -1,6 +1,6 @@ __title__ = 'django-fobi' -__version__ = '0.4.24' -__build__ = 0x000027 +__version__ = '0.4.25' +__build__ = 0x000028 __author__ = 'Artur Barseghyan ' __copyright__ = '2014-2015 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' diff --git a/src/fobi/discover.py b/src/fobi/discover.py index 3cff65d4..dacce97f 100644 --- a/src/fobi/discover.py +++ b/src/fobi/discover.py @@ -11,6 +11,8 @@ from django.conf import settings from nine.versions import DJANGO_GTE_1_7 +logger = logging.getLogger(__file__) + # In Django a dotted path can be used up to the app config class. In # such cases the old-school autodiscovery of modules doesn't work but we # have a great Django `autodiscover_modules` tool then. In cases if Django @@ -37,8 +39,6 @@ else: from fobi.conf import get_setting -logger = logging.getLogger(__file__) - def autodiscover(): """ Autodiscovers files that should be found by fobi.