Changes between Initial Version and Version 1 of Ticket #25476, comment 10
- Timestamp:
- Oct 5, 2015, 5:39:39 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25476, comment 10
initial v1 1 Are our environments similar? 1 2 {{{ 2 Are our environments similar?3 3 % python -V 4 4 Python 3.4.3 … … 11 11 things=# \encoding 12 12 UTF8 13 13 }}} 14 14 15 15 It is indeed empty in get_constraints and, as best I could follow it through with the debugger, it is empty when it returns from psycopg. But, running the sql manually or with the test script below produces the expected output. 16 16 {{{ 17 17 things=# SELECT 18 18 kc.constraint_name, … … 69 69 None 70 70 None 71 71 }}} 72 72 in pdb: 73 {{{ 73 74 % ./manage.py inspectdb 74 75 # This is an auto-generated Django model module. … … 96 97 [] 97 98 (Pdb) 98 99 }}} 99 100 I'm not proficient in python; I may be missing an obvious fix. I've also tried the git HEAD, which appears to have its own issues with timezones that I hacked around to test. I've also tried python 2.7 and on Debian. I'm happy to try other variations of the environment. 100 }}}