On Wed, Oct 31, 2012 at 2:18 PM, Michał Nowotka <[email protected]> wrote:
> But what is really buggy here is if i explicitly specify that this
> table is not managed django should respect db_table and not perform
> any truncation. That's all.
>
It won't truncate the name if you fully enclose it in quotes. Instead of:
db_table = 'schema_name\".\"table_name'
Try:
db_table = '\"schema_name\".\"table_name\"'
This only works for unmanaged models. For managed models it results in an
error when it tries to create the sequence and trigger using syncdb.
--
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?hl=en.