Thank you. Alex
--- 09年3月17日,周二, Alex Gaynor 写道:
发件人: Alex Gaynor
主题: Re: schema to model
收件人: django-users@googlegroups.com
日期: 2009年3月17日,周二,上午10:54
On Mon, Mar 16, 2009 at 10:42 PM, skysoaring1 wrote:
Hi,All,
We plan to develop an application on an existing database with Django.
Hi, all
I defined a choice field in model like bellow:
sendchannel = models.CharField(max_length=1,choices=(('1','channel
1'),('2','channel 2')))
so how to show the choice title but not value on template? I scanned admin
templates . seems something like dict(choices).get(). just cannot
Hii, all
I just want to add a foreign key--'FourS'-- to the user model .I have modified
it as following.it works on our dev env in windows but failed in product env in
linux ( apache2.0.54 +mod_python3.3.1+prefork mode) . Can anyone tell me why
and some solution? Thanks MODEL:
from djan
e the User model?
This might be a useful read for you if you want to store more info about a
user...http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users
Dougal
---
Dougal Matthews - @d0ugal
http://www.dougalmatthews.com/
2009/4/7 hc w
Hii, a
4 matches
Mail list logo