1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

Integer fields cannot have leading zeros

This commit is contained in:
Daniel Martí 2014-01-02 19:16:11 +01:00
parent 7a39772c2f
commit d72f671be4

View File

@ -75,7 +75,7 @@ class FieldType():
# Generic value types
valuetypes = {
'int' : FieldType("Integer",
r'^[0-9]+$', None,
r'^[1-9][0-9]*$', None,
[ 'FlattrID' ],
[ 'vercode' ]),