bump release to 1.24.1
Fix translations compile on Django 1.7
This commit is contained in:
parent
46c2d5a5b5
commit
a7491b206e
|
@ -9,7 +9,7 @@ from django.conf import settings
|
|||
from decorator import atomic
|
||||
|
||||
__all__ = ('record', 'error_record', 'Journal')
|
||||
__version__ = '1.24.0'
|
||||
__version__ = '1.24.1'
|
||||
|
||||
def unicode_truncate(s, length, encoding='utf-8'):
|
||||
'''Truncate an unicode string so that its UTF-8 encoding is less than
|
||||
|
|
6
setup.py
6
setup.py
|
@ -40,12 +40,10 @@ class compile_translations(Command):
|
|||
|
||||
def run(self):
|
||||
import os
|
||||
import sys
|
||||
from django.core.management.commands.compilemessages import \
|
||||
compile_messages
|
||||
from django.core.management import call_command
|
||||
curdir = os.getcwd()
|
||||
os.chdir(os.path.realpath('django_journal'))
|
||||
compile_messages(sys.stderr)
|
||||
call_command('compilemessages')
|
||||
os.chdir(curdir)
|
||||
|
||||
class build(_build):
|
||||
|
|
Loading…
Reference in New Issue