This depends on your database. The problem with SQLObject is that it
does not quote names so that they could be unique.
Instead of 'SELECT * FROM "Users"' it does 'SELECT * FROM Users' which
then fucks things up. I hope new branch of SQLObject will have a
better support for this.

--
Sebastjan
http://www.trepca.si/blog


On 4/10/06, Ed Singleton <[EMAIL PROTECTED]> wrote:
>
> I kept getting the following error with my model:
>
>   File "C:\Python24\lib\site-packages\MySQLdb\connections.py", line 33, in 
> defau
> lterrorhandler
>     raise errorclass, errorvalue
> _mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL 
> syntax
> ; check the manual that corresponds to your MySQL server version for the 
> right s
> yntax to use near 'group' at line 1")
>
>
> After reducing my code to the minimum that produced the problem, I
> discovered that creating a class in my model called "Group" was what
> produced the error.
>
> Is there any straightforward way round this or if not, is there a list
> of words I can't use as class names in my model?
>
> Thanks
>
> Ed
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to