On Nov 5, 3:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Noob here... > > I have an existing table with two Clob fields. While defining the > model I use TextField as the filed type. > > running <python manage.py syncdb> gives me back the error: > > cx_Oracle.DatabaseError: ORA-01754: a table may contain only one > column of type LONG > > Well, what I really want are clobs to begin with. It sounds like what > I really want to do is subclass Field, but this is starting to turn in > to more trouble than it's worth... > > This has to be something somebody's come across before.
Django doesn't use LONG columns. Please make sure that you're using Django 1.0+ and *not* a 0.96 release. The oracle backend included in 0.96 was incomplete and should not be used. Hope that helps, Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---