Utilities for using modules
Return ths timestamp of the given item (if exists)
Returns path of the given module (imports it and reads it from __file__)
Load compressed .js page scripts
Will also replace $import(page) or $import(module.page) with the relevant js files
Bases: exceptions.Exception
Returns the client-side (js) code of the DocType. Adds custom script and replaces $import(dt) with the code of that DocType
Get js code from a file (uncompressed)
Returns the js code of a page. Will replace $import (page) or $import(module.page) with the code from the file
Imports Documents from modules (.txt) files in the filesystem
returns a doclist (list of dictionaries) of multiple records for the given parameters
imports a given file into the database
imports the all the records and files from the given module
returns the list of records and their last update times from the table if the column _last_update does not exist, it will add it to the table