Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope-container
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
Boxiang Sun
zope-container
Commits
f8b7350c
Commit
f8b7350c
authored
Oct 13, 2008
by
Sidnei da Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Remove usage of deprecated LayerField
parent
96e91bab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
CHANGES.txt
CHANGES.txt
+1
-1
src/zope/app/container/browser/metaconfigure.py
src/zope/app/container/browser/metaconfigure.py
+2
-3
No files found.
CHANGES.txt
View file @
f8b7350c
...
...
@@ -2,10 +2,10 @@
CHANGES
=======
3.6.1dev (unreleased)
---------------------
- Removed usage of deprecated LayerField
- Bug: Error thrown during __setitem__ for an ordered container leaves
bad key in order
- fixed #238579 / #163149: error with unicode traversing
...
...
src/zope/app/container/browser/metaconfigure.py
View file @
f8b7350c
...
...
@@ -19,14 +19,13 @@ $Id$
__docformat__
=
'restructuredtext'
from
zope.interface
import
Interface
from
zope.configuration.fields
import
GlobalObject
from
zope.configuration.fields
import
GlobalObject
,
GlobalInterface
from
zope.publisher.interfaces.browser
import
IDefaultBrowserLayer
from
zope.schema
import
Id
from
zope.security.zcml
import
Permission
from
zope.app.publisher.browser.viewmeta
import
page
,
view
from
zope.app.container.browser.contents
import
Contents
from
zope.app.container.browser.adding
import
Adding
from
zope.app.component.back35
import
LayerField
from
zope.app.container.i18n
import
ZopeMessageFactory
as
_
...
...
@@ -53,7 +52,7 @@ class IContainerViews(Interface):
title
=
u"The permission needed for add page."
,
required
=
False
)
layer
=
LayerField
(
layer
=
GlobalInterface
(
title
=
_
(
"The layer the view is in."
),
description
=
_
(
"""A skin is composed of layers. It is common to put
skin specific views in a layer named after the skin. If the 'layer'
...
...
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