Fixes in percentfield and config_admin
This commit is contained in:
parent
a3cc015c34
commit
fc15bd74bb
3 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from paramecio2.libraries.db.corefields import IntegerField
|
||||
from paramecio2.libraries.db.corefields import DecimalField
|
||||
|
||||
class PercentField(IntegerField):
|
||||
class PercentField(DecimalField):
|
||||
"""Field used for save percent values from 0 to 100."""
|
||||
|
||||
def __init__(self, name, required=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue