فهرست منبع

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

Abraham Elmahrek 12 سال پیش
والد
کامیت
155025a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)