Fixes in coreforms and freed new version
This commit is contained in:
parent
db23fb230b
commit
f3d4d94a5b
2 changed files with 4 additions and 4 deletions
|
|
@ -206,7 +206,7 @@ class SelectModelForm(SelectForm):
|
||||||
|
|
||||||
with self.model.select([self.field_name, self.field_value], True) as cur:
|
with self.model.select([self.field_name, self.field_value], True) as cur:
|
||||||
for arr_value in cur:
|
for arr_value in cur:
|
||||||
|
#print(self.model.fields[self.field_name])
|
||||||
self.arr_select[arr_value[self.field_value]]=self.model.fields[self.field_name].show_formatted(arr_value[self.field_name])
|
self.arr_select[arr_value[self.field_value]]=self.model.fields[self.field_name].show_formatted(arr_value[self.field_name])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
6
setup.py
6
setup.py
|
|
@ -5,15 +5,15 @@ import os
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 5):
|
if sys.version_info < (3, 6):
|
||||||
raise NotImplementedError("Sorry, you need at least Python 3.5 for use paramecio2.")
|
raise NotImplementedError("Sorry, you need at least Python 3.6 for use paramecio2.")
|
||||||
|
|
||||||
#import paramecio
|
#import paramecio
|
||||||
# Pillow should be installed after if you need ImageField
|
# Pillow should be installed after if you need ImageField
|
||||||
# If you install passlib and bcrypt, the password system will use bcrypt by default, if not, will use native crypt libc
|
# If you install passlib and bcrypt, the password system will use bcrypt by default, if not, will use native crypt libc
|
||||||
|
|
||||||
setup(name='paramecio2',
|
setup(name='paramecio2',
|
||||||
version='2.0.20',
|
version='2.0.21',
|
||||||
description='Simple Web Framework based in flask and Mako.',
|
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',
|
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',
|
author='Antonio de la Rosa Caballero',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue