Commit 0eeec45e authored by Jim Fulton's avatar Jim Fulton

Made manage a redirect rather than an alias.

parent 26b77231
...@@ -16,8 +16,8 @@ Aqueduct database adapters, etc. ...@@ -16,8 +16,8 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new This module can also be used as a simple template for implementing new
item types. item types.
$Id: SimpleItem.py,v 1.21 1998/05/22 22:31:06 jim Exp $''' $Id: SimpleItem.py,v 1.22 1998/08/03 13:32:39 jim Exp $'''
__version__='$Revision: 1.21 $'[11:-2] __version__='$Revision: 1.22 $'[11:-2]
import regex, sys, Globals, App.Management import regex, sys, Globals, App.Management
from DateTime import DateTime from DateTime import DateTime
...@@ -123,7 +123,9 @@ class Item(CopySource, App.Management.Tabs): ...@@ -123,7 +123,9 @@ class Item(CopySource, App.Management.Tabs):
def aqObjectBind(self, ob): def aqObjectBind(self, ob):
return ob.__of__(self) return ob.__of__(self)
def manage(self, URL1):
" "
raise 'Redirect', "%s/manage_main" % URL1
class Item_w__name__(Item): class Item_w__name__(Item):
...@@ -180,6 +182,9 @@ def pretty_tb(t,v,tb): ...@@ -180,6 +182,9 @@ def pretty_tb(t,v,tb):
############################################################################## ##############################################################################
# #
# $Log: SimpleItem.py,v $ # $Log: SimpleItem.py,v $
# Revision 1.22 1998/08/03 13:32:39 jim
# Made manage a redirect rather than an alias.
#
# Revision 1.21 1998/05/22 22:31:06 jim # Revision 1.21 1998/05/22 22:31:06 jim
# Moved some DB-related methods from ObjectManager and SimpleItem and stuffed them # Moved some DB-related methods from ObjectManager and SimpleItem and stuffed them
# right into Persistent in Globals. # right into Persistent in Globals.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment