how can I create tables and foreignkey as below information.

create a user object "models.User" and include kewords like this,

username: modify the max_length of username to 32,default is 30.
email:
password:
is_staff:   false
is_active:  true
is_superuser:  false

create object "profile" for storaging other info of user:

nickname:CharField
birthday:DateField
Zone:reliaion zone table
work:relation work table
degree:relation degree table
interest:TextField
agree_open_info:BooleanField

-- 
cowboy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to