fix helpers

This commit is contained in:
fivethreeo 2011-09-05 22:22:56 +02:00
parent c02d97df8e
commit 2a7f559476
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ import os
setup(
name='simple-translation',
version='0.7.8',
version='0.7.9',
description='This is a translation app/plugin with support for django-cms 2.1 plugins in the admin',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author='Oyvind Saltvik',

View File

@ -42,4 +42,4 @@ def get_translation_queryset(obj):
return get_translation_manager(obj).all()
def get_translated_model(model):
return info = translation_pool.get_info(model).translated_model
return translation_pool.get_info(model).translated_model