diff --git a/paramecio/citoplasma/generate_admin_class.py b/paramecio/citoplasma/generate_admin_class.py index eb13c8f..08e43b5 100644 --- a/paramecio/citoplasma/generate_admin_class.py +++ b/paramecio/citoplasma/generate_admin_class.py @@ -1,6 +1,6 @@ from paramecio.citoplasma.lists import SimpleList -from bottle import request, redirect -from paramecio.citoplasma.urls import add_get_parameters +from bottle import request +from paramecio.citoplasma.urls import add_get_parameters, redirect from paramecio.citoplasma.mtemplates import set_flash_message from paramecio.cromosoma.formsutils import show_form from paramecio.citoplasma.i18n import I18n diff --git a/paramecio/modules/lang/index.py b/paramecio/modules/lang/index.py index 093c413..7e066dd 100644 --- a/paramecio/modules/lang/index.py +++ b/paramecio/modules/lang/index.py @@ -1,6 +1,7 @@ from paramecio.citoplasma.i18n import I18n -from bottle import get,response,request, redirect +from bottle import get,response,request from paramecio.citoplasma.sessions import get_session +from paramecio.citoplasma.urls import redirect import re @get('/change_lang/') @@ -21,3 +22,4 @@ def index(lang): redirect(redirect_url) return "" +