Commits

Sven Hendriks committed aff0c16

Commented static dirs for js and images out in CP config for now as they do not exist after installation

Comments (0)

Files changed (1)

cpstub/project_template/project_name/web/control/root.py.tmpl

 	d.connect('default', '', controller=HelloPage())
 
 	conf = {'/': {'request.dispatch': d},
-		'/static/js': {'tools.staticdir.on': True,
-			       'tools.staticdir.root': web.web_base,
-			       'tools.staticdir.dir': 'static/js'},
+		#'/static/js': {'tools.staticdir.on': True,
+		#	       'tools.staticdir.root': web.web_base,
+		#	       'tools.staticdir.dir': 'static/js'},
 		'/static/css': {'tools.staticdir.on': True,
 			       'tools.staticdir.root': web.web_base,
 			       'tools.staticdir.dir': 'static/css'},
-		'/static/images': {'tools.staticdir.on': True,
-			       'tools.staticdir.root': web.web_base,
-			       'tools.staticdir.dir': 'static/images'},
+		#'/static/images': {'tools.staticdir.on': True,
+		#	       'tools.staticdir.root': web.web_base,
+		#	       'tools.staticdir.dir': 'static/images'},
 	}
 
 	cherrypy.quickstart(Stub(), '/', config=conf)