Hi,
I'm trying to get the oracle backend to work properly. Have made some
progress, but now I need some guidance on The Django Way.

Oracle seems to have a 30 character limit for constraint names, table
names, and column names. When I syncdb, django trips up with an ALTER
TABLE ADD CONSTRAINT using a constraint name that's too long. I traced
the problem back to _get_sql_for_pending_references, and am not sure
how to proceed.

Should I hack the Oracle 'backend.quote_name' to make short names? I'm
not realy familiar with Django, that sounds like handy sort of method,
it might be called all over the place, I don'nt want to break lots of
things. Should I do something stupid like "munge when matches
*_referencing_*"? how would a Django guru do it?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to