Fixes in plugins

This commit is contained in:
absurdo 2023-10-11 00:56:05 +02:00
parent 7f1a3adf22
commit e874bace60
3 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -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!')
%>
<span id="title_phango">${portal_admin_name_set[0]}</span> <span id="title_framework">${portal_admin_name_set[1]}</span>

View file

@ -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'
],
)