~mdipierro/web2py/devel

« back to all changes in this revision

Viewing changes to applications/welcome/models/db.py

  • Committer: Massimo Di Pierro
  • Date: 2011-11-22 05:23:40 UTC
  • Revision ID: massimo.dipierro@gmail.com-20111122052340-dnzzz4x29w9xxcxu
fixed problem with minify (preserves capitalizations, uses temp folder, does not break with absolute URLs)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
## by default give a view/generic.extension to all actions from localhost
22
22
## none otherwise. a pattern can be 'controller/function.extension'
23
23
response.generic_patterns = ['*'] if request.is_local else []
24
 
 
25
 
## combine all css and js files into single files to improve performance.
26
 
# response.combine_css = response.combine_js = True # test before using
27
 
# response.minify_css = reponse.combine_js = True  # test before using
 
24
## (optional) optimize handling of static files
 
25
# response.optimize_css = 'concat|minify|inline'
 
26
# response.optimize_js = 'concat|minify|inline'
28
27
 
29
28
#########################################################################
30
29
## Here is sample code if you need for