create table

2010-07-19 Thread pengbo xue
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 sto

Re: create table

2010-07-20 Thread pengbo xue
thanks for your help. 2010/7/20 Franklin Einspruch > cowboy, > > I think you're looking for this: > > http://docs.djangoproject.com/en/dev/ref/models/fields/#foreignkey > > Franklin > > 2010/7/20 Ian Lewis : > > Hi, > > > > On Tue, Jul 20, 201

django storage chinese failed to mysql!!

2010-07-27 Thread pengbo xue
hi all, I can register from my django web page in english,but it can't storage chinese to django mysql database. please give me advice. thx -- 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

Re: django storage chinese failed to mysql!!

2010-07-28 Thread pengbo xue
8 at 09:11 +0800, pengbo xue wrote: > > hi all, > > > > I can register from my django web page in english,but it can't storage > > chinese to django mysql database. > > > > please give me advice. thx > > Check your table definition to see whether the field yo

change SelectDateWidget() display format

2010-08-03 Thread pengbo xue
i use function SelectDateWidget() in form,it display date format on web page by moth-date-year,what can i do for it display date format by year-month-date? -- cowboy -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

js del html lable

2010-08-25 Thread pengbo xue
i don't know how to del the html lable the red part, but must save " 1". 1 0 after js running, change the html to display by " 1" -- 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-u