diff --git a/paramecio2/libraries/plugins.py b/paramecio2/libraries/plugins.py index 1438355..81d4dd0 100644 --- a/paramecio2/libraries/plugins.py +++ b/paramecio2/libraries/plugins.py @@ -1,4 +1,4 @@ -from flask import g +from flask import g, session, redirect, url_for from functools import wraps from paramecio2.libraries.db.webmodel import WebModel diff --git a/paramecio2/modules/admin/templates/dashboard.phtml b/paramecio2/modules/admin/templates/dashboard.phtml index 2cd227d..eb3b224 100644 --- a/paramecio2/modules/admin/templates/dashboard.phtml +++ b/paramecio2/modules/admin/templates/dashboard.phtml @@ -38,7 +38,8 @@ ${load_js()|n} portal_admin_name_set=('Paramecio', 'Framework!') - #if hasattr(config, 'portal_admin_name_set'): + if hasattr(config, 'portal_admin_name_set'): + portal_admin_name_set=('Paramecio', 'Framework!') %> ${portal_admin_name_set[0]} ${portal_admin_name_set[1]} diff --git a/setup.py b/setup.py index 74d265c..b1675cd 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ if sys.version_info < (3, 8): # If you install passlib and bcrypt, the password system will use bcrypt by default, if not, will use native crypt libc setup(name='paramecio2', - version='2.0.23', + version='2.0.24', description='Simple Web Framework based in flask and Mako.', long_description='This framework is a simple framework used for create web apps. Paramecio is modular and fast. By default have a module called admin that can be used for create admin sites', author='Antonio de la Rosa Caballero', @@ -38,9 +38,9 @@ setup(name='paramecio2', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.6' + 'Programming Language :: Python :: 3.8' + 'Programming Language :: Python :: 3.9' + 'Programming Language :: Python :: 3.10' + 'Programming Language :: Python :: 3.11' ], )