fix helpers
This commit is contained in:
parent
c02d97df8e
commit
2a7f559476
2
setup.py
2
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue