Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
0eeec45e
Commit
0eeec45e
authored
Aug 03, 1998
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made manage a redirect rather than an alias.
parent
26b77231
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+8
-3
No files found.
lib/python/OFS/SimpleItem.py
View file @
0eeec45e
...
...
@@ -16,8 +16,8 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id: SimpleItem.py,v 1.2
1 1998/05/22 22:31:06
jim Exp $'''
__version__
=
'$Revision: 1.2
1
$'
[
11
:
-
2
]
$Id: SimpleItem.py,v 1.2
2 1998/08/03 13:32:39
jim Exp $'''
__version__
=
'$Revision: 1.2
2
$'
[
11
:
-
2
]
import
regex
,
sys
,
Globals
,
App
.
Management
from
DateTime
import
DateTime
...
...
@@ -123,7 +123,9 @@ class Item(CopySource, App.Management.Tabs):
def
aqObjectBind
(
self
,
ob
):
return
ob
.
__of__
(
self
)
def
manage
(
self
,
URL1
):
" "
raise
'Redirect'
,
"%s/manage_main"
%
URL1
class
Item_w__name__
(
Item
):
...
...
@@ -180,6 +182,9 @@ def pretty_tb(t,v,tb):
##############################################################################
#
# $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
# Moved some DB-related methods from ObjectManager and SimpleItem and stuffed them
# right into Persistent in Globals.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment