sql names
This commit is contained in:
parent
6d8c3a0744
commit
2f015418f0
7 changed files with 22 additions and 188 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue