Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
basket
Commits
6db59e160216
Commit
42fd1361
authored
May 04, 2009
by
sylvain.thenault@logilab.fr
Browse files
cleanup
parent
4af49b01a70f
Changes
1
Hide whitespace changes
Inline
Side-by-side
schema.py
View file @
6db59e16
...
...
@@ -8,18 +8,15 @@ class Basket(MetaUserEntityType):
'delete'
:
(
'managers'
,
'owners'
,),
'update'
:
(
'managers'
,
'owners'
,),
}
name
=
String
(
required
=
True
,
indexed
=
True
,
internationalizable
=
True
,
maxsize
=
128
)
description_format
=
String
(
meta
=
True
,
internationalizable
=
True
,
maxsize
=
50
,
default
=
'text/rest'
,
constraints
=
[
format_constraint
])
description
=
String
(
fulltextindexed
=
True
)
in_basket
=
ObjectRelation
(
'*'
)
class
in_basket
(
MetaUserRelationType
):
pass
# is_in has been renamed into in_basket
#//* is_in Basket
#* in_basket Basket
Write
Preview
Supports
Markdown
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