Changes between Version 2 and Version 3 of Ticket #13711, comment 20
- Timestamp:
- Jun 19, 2014, 2:20:02 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13711, comment 20
v2 v3 1 1 One approach: 2 2 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.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`. 4 4 5 5 EDITS: 6 6 This 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. 7 This should be `True` for any new `3rd-party backends` that uses `truncate_name`.