Browse Source

[core] see sqlite3 as an acceptable shortname for django.db.backends.sqlite3

Abraham Elmahrek 12 years ago
parent
commit
155025a42f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -34,7 +34,7 @@ def coerce_database(database):
     return 'django.db.backends.postgresql_psycopg2'
   elif database == 'oracle':
     return 'django.db.backends.oracle'
-  elif database == 'sqlite':
+  elif database in ('sqlite', 'sqlite3'):
     return 'django.db.backends.sqlite3'
   else:
     return str(database)