summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6541a74)
raw | patch | inline | side by side (parent: 6541a74)
author | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Feb 2003 12:10:34 +0000 (12:10 +0000) | ||
committer | kedder <kedder@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 13 Feb 2003 12:10:34 +0000 (12:10 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1505 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/client.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index cc816c3e8e538f3ffc36e479ac08ead8f5ec83eb..dd58c3d8a8d7d83e330fea2796db69735a44b304 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- implemented extension to form parsing to allow editing of multiple items
and creation of multiple items (but only one per class)
- the colon ":" special form variable designator may now be any of : + @
+- trackers' templates directory can contain subdirectories with static files
+ (e.g. images). They are accessible naturally: _file/images/img.gif
2003-??-?? 0.5.6
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index c9d51923db7ee04aa22ddf0c14e6e2b3e60af7aa..ac8d9d451981c18cb5ff7322e2d7b255a100c434 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.83 2003-02-13 11:23:46 richard Exp $
+# $Id: client.py,v 1.84 2003-02-13 12:10:34 kedder Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
self.template = ''
return
elif path[0] == '_file':
- raise SendStaticFile, path[1]
+ raise SendStaticFile, os.path.join(*path[1:])
else:
self.classname = path[0]
if len(path) > 1: