fixed missing dropdowns, thanks Alan
This commit is contained in:
1 parent
9f7f495961
commit
1fa2b5ad28
2 files changed
+4
-4
No files matched your search
@@ -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)
|
||||
return patterns
|
||||
|
||||
if patterns=='auto':
|
||||
if patterns==DEFAULT:
|
||||
patterns=[]
|
||||
for table in db.tables:
|
||||
if not table.startswith('auth_'):
|
||||
@@ -7283,7 +7283,7 @@ class Table(dict):
|
||||
if self._db and not field.type in ('text','blob') and \
|
||||
self._db._adapter.maxcharlength < field.length:
|
||||
field.length = self._db._adapter.maxcharlength
|
||||
if field.requires is DEFAULT:
|
||||
if field.requires == DEFAULT:
|
||||
field.requires = sqlhtml_validators(field)
|
||||
self.ALL = SQLALL(self)
|
||||
|
||||
@@ -8069,7 +8069,7 @@ class Field(Expression):
|
||||
length=None,
|
||||
default=DEFAULT,
|
||||
required=False,
|
||||
requires=None,
|
||||
requires=DEFAULT,
|
||||
ondelete='CASCADE',
|
||||
notnull=False,
|
||||
unique=False,
|
||||
|
||||
Reference in new issue
Block a user