Re: Is there any way to create char data type in django.

2010-04-21 Thread Huang Stanley
pass class myCharClass(models.Model): myCF = myCharField(max_length=30) [SQL] CREATE TABLE test_mycharclass ( mycf char(30) ) ; regards, Stanley Huang 2010/4/21 derek <gamesb...@gmail.com> > On Apr 20, 1:31 pm, Huang Stanley <wenlien1...@gmail.com> wrote: > >

Is there any way to create char data type in django.

2010-04-20 Thread Huang Stanley
Hi all: I try to find all fields but only IPAddressField is char data type, but it's a fix-length char data type for 15 characters. Is there any field that I can use for this purpose. PS. I use django 1.2 beta 1 on Ubuntu. Thanks for your kindly assistance. regards, Stanley Huang -- You