Changes between Initial Version and Version 1 of Ticket #25476, comment 10


Ignore:
Timestamp:
Oct 5, 2015, 5:39:39 PM (9 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25476, comment 10

    initial v1  
     1Are our environments similar?
    12{{{
    2 Are our environments similar?
    33% python -V
    44Python 3.4.3
     
    1111things=# \encoding
    1212UTF8
    13 
     13}}}
    1414
    1515It 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{{{
    1717things=# SELECT
    1818kc.constraint_name,
     
    6969None
    7070None
    71 
     71}}}
    7272in pdb:
     73{{{
    7374% ./manage.py inspectdb
    7475# This is an auto-generated Django model module.
     
    9697[]
    9798(Pdb)
    98 
     99}}}
    99100I'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 }}}
Back to Top