Error in migrate_sql_alias_table.py

Issue #115 resolved
Anonymous created an issue
elif settings.backend in ['pgsql']:
    sql_dbn = 'postgres'
else:
    sys.exit('* << ERROR >>: Unsupported backend (%s).' % settings.backend)

try:
    if sql_dbn == 'pgsql':

Change last line to sql_dbn == 'postgres', otherwise script will not work with postgres backend.

Regards,

Sven

Comments (1)

  1. Log in to comment