Re: Keys composed of multiple fields

2009-02-16 Thread jfmxl
I see. Thank you. Alex Koshelev wrote: > Django doesn't suppurt multi-field PKs. Try to search this group for more > diussion. > > On Mon, Feb 16, 2009 at 12:43 PM, jfmxl <jf...@yahoo.com> wrote: > > > > > Hi again, > > > > How do I handle multifield

Keys composed of multiple fields

2009-02-16 Thread jfmxl
Hi again, How do I handle multifield keys? I have multifield primary keys which are in turn used as foreign keys in other tables. My database backend is MySQL if that makes a difference. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: InnoDB tables for MySQL

2009-02-16 Thread jfmxl
On Feb 16, 2:24 pm, Alex Gaynor <alex.gay...@gmail.com> wrote: > On Mon, Feb 16, 2009 at 1:37 AM, jfmxl <jf...@yahoo.com> wrote: > > > Hi, > > > I read through the tutorials and thank you very much! They are well > > designed and very helpful. > > >

InnoDB tables for MySQL

2009-02-15 Thread jfmxl
Hi, I read through the tutorials and thank you very much! They are well designed and very helpful. I noticed that the models' database definitions created using MySQL always create MyISAM tables, but to use functional constraints on foreign keys one must use InnoDB tables in MySQL. Is there

Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 8:22 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Mon, Feb 9, 2009 at 8:07 AM, jfmxl <jf...@yahoo.com> wrote: > > > # Create your models here. > > > class Poll(models.Model): > >    question = models.CharField(max_length=200) > >    pu

Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 7:05 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > On Mon, Feb 9, 2009 at 8:43 PM, jfmxl <jf...@yahoo.com> wrote: > > > On Feb 9, 5:21 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > >> On Mon, Feb 9, 2009 at 6:58 PM, jfmxl &

Re: Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
On Feb 9, 5:21 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > On Mon, Feb 9, 2009 at 6:58 PM, jfmxl <jf...@yahoo.com> wrote: > > > Hello, > > > I downloaded the 1.0.2 version of django to my ubuntu 8.10 box and > > began the tutorial. I

Troubles with unicode in django-trunk

2009-02-09 Thread jfmxl
Hello, I downloaded the 1.0.2 version of django to my ubuntu 8.10 box and began the tutorial. I got as far as adding the unicode print definitions for poll and choice, and then saw no difference between afterward : In [2]: Poll.objects.all() Out[2]: [] is still what I saw. So I scrubbed the