Changes between Version 14 and Version 15 of DeveloperGuidelines/DataTables
- Timestamp:
- 08/07/11 16:45:06 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/DataTables
v14 v15 29 29 {{{#!python 30 30 resourcename = "csv" 31 tablename = module + "_" + resourcename 31 tablename = "%s_%s" % (module, 32 resourcename) 32 33 table = db.define_table(tablename, 33 34 Field("name", required=True, notnull=True), … … 38 39 39 40 table.name.comment = DIV(_class = "tooltip", 40 _title = T("Name") + "|" + T("Enter a name of the CSV you are uploading.")) 41 _title = "%s|%s" (T("Name"), 42 T("Enter a name of the CSV you are uploading."))) 41 43 42 44 s3.crud_strings[tablename]= Storage( … … 54 56 module = "importer" 55 57 resourcename = "csv" 56 tablename = module + "_" + resourcename 58 tablename = "%s_%s" % (module, 59 resourcename) 57 60 table = db[tablename] 58 61