Changes between Version 14 and Version 15 of DeveloperGuidelines/DataTables


Ignore:
Timestamp:
08/07/11 16:45:06 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/DataTables

    v14 v15  
    2929  {{{#!python
    3030    resourcename = "csv"
    31     tablename = module + "_" + resourcename
     31    tablename = "%s_%s" % (module,
     32                            resourcename)
    3233    table = db.define_table(tablename,
    3334                            Field("name", required=True, notnull=True),
     
    3839
    3940    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.")))
    4143
    4244    s3.crud_strings[tablename]= Storage(
     
    5456    module = "importer"
    5557    resourcename = "csv"
    56     tablename = module + "_" + resourcename
     58    tablename = "%s_%s" % (module,
     59                            resourcename)
    5760    table = db[tablename]
    5861