sql names

This commit is contained in:
j 2007-03-20 16:09:12 +00:00
commit 2f015418f0
7 changed files with 22 additions and 188 deletions

View file

@ -25,7 +25,7 @@ class View:
@expose()
def default(self, id, *args, **kw):
try:
item = ArchiveItem.byHash(id)
item = ArchiveItem.byHashId(id)
if not args:
return self.view(item)
elif args[0] == 'icon.png':
@ -38,6 +38,8 @@ class View:
class Root(controllers.RootController):
view = View()
@expose(template=".templates.welcome")
# @identity.require(identity.in_group("admin"))
def index(self):