Groups
Groups
Sign in
Groups
Groups
Google App Engine
Conversations
Labels
About
Send feedback
Help
import class
12 views
python
Skip to first unread message
Victor
unread,
May 6, 2012, 10:05:16 PM
5/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Good evening
,
extramente
my question
should be
simple,
but have not found
the answer
: s
I have
a
test project
named
BRYLIX
.
In the
main
directory
have
a
file called
home.py
In this file
would make
the
import
of class "
person"
in
this
sub
-directory
named
model.
The
Person class
is
as follows
:
from
db
import
google.appengine.ext
class Person
(
db.Model
)
:
db.StringProperty
name =
()
db.StringProperty
nickname
=
()
email =
db.StringProperty
()
db.StringProperty
password =
()
db.StringProperty
session =
()
created =
db.DateTimeProperty
(
auto_now_add
=
True)
Reply all
Reply to author
Forward
0 new messages