Changes between Version 2 and Version 3 of Ticket #13711, comment 20


Ignore:
Timestamp:
Jun 19, 2014, 2:20:02 PM (10 years ago)
Author:
ANUBHAV JOSHI

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13711, comment 20

    v2 v3  
    11One approach:
    22
    3 Adding a attribute which tells whether `truncate_name` is called or not, like `connection.supports_auto_truncation` and then running the model check only for those dbs which have this set to False.
     3Adding a attribute which tells whether `truncate_name` is called or not, like `connection.supports_auto_truncation` and then running the model check only for those dbs which have this set to `False`.
    44
    55EDITS:
    66This could be similar to the one which was removed:`connection.supports_long_model_names`(This was used for the dbs which either did truncation calling truncate_name or by itself by skipping the chars after its max limit. This second part created problems). It would be like renaming this attribute to the above because the earlier use created problems and the new usage for checking only usage of `truncate_name` does not.
     7This should be `True` for any new `3rd-party backends` that uses `truncate_name`.
Back to Top