Modification de la structure de l'intranet

darcs-hash:20070124113425-f46e9-b0dc2101073d5c4d896539104cc418693bab419a.gz
This commit is contained in:
gdetrez 2007-01-24 12:34:25 +01:00
parent 0570881d34
commit 8713311bc1
13 changed files with 331 additions and 191 deletions

View file

@ -0,0 +1,8 @@
import cherrypy
def current_module():
current_path = cherrypy.request.object_path
module_name = current_path.split('/')[1]
if module_name != 'index':
return module_name
return None