prepare 0.4.25; fixes in discover module - moving logger definition up

This commit is contained in:
Artur Barseghyan 2015-03-04 01:45:08 +01:00
parent a4978d8439
commit 1bb0bbdfb5
4 changed files with 11 additions and 5 deletions

View file

@ -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

View file

@ -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',

View file

@ -1,6 +1,6 @@
__title__ = 'django-fobi'
__version__ = '0.4.24'
__build__ = 0x000027
__version__ = '0.4.25'
__build__ = 0x000028
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2014-2015 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'

View file

@ -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.