fixed missing dropdowns, thanks Alan
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-19 13:53:42) dev
|
Version 2.00.0 (2012-08-19 15:02:35) dev
|
||||||
|
|||||||
+3
-3
@@ -6763,7 +6763,7 @@ def index():
|
|||||||
patterns += auto_table(rtable,base=tag,depth=depth-1)
|
patterns += auto_table(rtable,base=tag,depth=depth-1)
|
||||||
return patterns
|
return patterns
|
||||||
|
|
||||||
if patterns=='auto':
|
if patterns==DEFAULT:
|
||||||
patterns=[]
|
patterns=[]
|
||||||
for table in db.tables:
|
for table in db.tables:
|
||||||
if not table.startswith('auth_'):
|
if not table.startswith('auth_'):
|
||||||
@@ -7283,7 +7283,7 @@ class Table(dict):
|
|||||||
if self._db and not field.type in ('text','blob') and \
|
if self._db and not field.type in ('text','blob') and \
|
||||||
self._db._adapter.maxcharlength < field.length:
|
self._db._adapter.maxcharlength < field.length:
|
||||||
field.length = self._db._adapter.maxcharlength
|
field.length = self._db._adapter.maxcharlength
|
||||||
if field.requires is DEFAULT:
|
if field.requires == DEFAULT:
|
||||||
field.requires = sqlhtml_validators(field)
|
field.requires = sqlhtml_validators(field)
|
||||||
self.ALL = SQLALL(self)
|
self.ALL = SQLALL(self)
|
||||||
|
|
||||||
@@ -8069,7 +8069,7 @@ class Field(Expression):
|
|||||||
length=None,
|
length=None,
|
||||||
default=DEFAULT,
|
default=DEFAULT,
|
||||||
required=False,
|
required=False,
|
||||||
requires=None,
|
requires=DEFAULT,
|
||||||
ondelete='CASCADE',
|
ondelete='CASCADE',
|
||||||
notnull=False,
|
notnull=False,
|
||||||
unique=False,
|
unique=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user