Re: Retrieving Table Column Names

2007-04-04 Thread Malcolm Tredinnick
On Wed, 2007-04-04 at 07:27 -0700, Moses Ting wrote: > This might be pretty simple to do, but I can't seem to figure it out. > How do I retrieve the names of column within a table, such is one > below? In future, too, please direct these sorts of questions to django-users. This list is for posts

Re: Retrieving Table Column Names

2007-04-04 Thread Malcolm Tredinnick
On Wed, 2007-04-04 at 07:27 -0700, Moses Ting wrote: > This might be pretty simple to do, but I can't seem to figure it out. > How do I retrieve the names of column within a table, such is one > below? > > class myTable(models.Model) > one = models.CharField() > two = models.CharField() Use

Retrieving Table Column Names

2007-04-04 Thread Moses Ting
This might be pretty simple to do, but I can't seem to figure it out. How do I retrieve the names of column within a table, such is one below? class myTable(models.Model) one = models.CharField() two = models.CharField() Thanks, --~--~-~--~~~---~--~~ You rec