Tim Lesher wrote:
> On 4/23/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
>> AttributeError: PlayerForSale instance has no attribute 'player'
>
> This looks a lot like Trac ticket #279, which I believe is a bug that
> was introduced in SQLObject 0.7:
>
> http://trac.turbogears.org/turbogears/ticket/279
>
> The workaround can be found at:
>
> http://joe.sl4g.com/words/code/sqlobject_order.html
>
No it's not a problem with creating tables:
mysql> show create table player_for_sale;
+-----------------+------------------------------------+
| Table | Create Table
|
+-----------------+------------------------------------+
| player_for_sale | CREATE TABLE `player_for_sale` (
`id` int(11) NOT NULL auto_increment,
`player_id` int(11) default NULL,
`askingprice` int(11) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 |
+-----------------+------------------------------------+
1 row in set (0.00 sec)
mysql>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---