Ticket #15691: 15691.diff

File 15691.diff, 969 bytes (added by Jason Peddle, 13 years ago)

TEST_NAME, fallback to NAME

  • django/db/backends/oracle/creation.py

     
    268268            settings_dict['HOST'],
    269269            settings_dict['PORT'],
    270270            settings_dict['ENGINE'],
    271             settings_dict['NAME'],
     271            settings_dict.get('TEST_NAME', settings_dict['NAME']),
    272272            self._test_database_user(),
    273273        )
    274274
  • django/db/backends/creation.py

     
    376376            settings_dict['HOST'],
    377377            settings_dict['PORT'],
    378378            settings_dict['ENGINE'],
    379             settings_dict['NAME']
     379            settings_dict.get('TEST_NAME', settings_dict['NAME']),
    380380        )
Back to Top