kopia lustrzana https://github.com/wagtail/wagtail
Use SQLite3 database backend when building docs
This prevents Django from loading psycopg2 when running autodocs on models filespull/358/head^2
rodzic
d1d8b7811a
commit
6603c63b95
|
@ -33,6 +33,9 @@ sys.path.insert(0, os.path.abspath('..'))
|
|||
# be configured
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'wagtail.tests.settings'
|
||||
|
||||
# Use SQLite3 database engine so it doesn't attempt to use psycopg2 on RTD
|
||||
os.environ['DATABASE_ENGINE'] = 'django.db.backends.sqlite3'
|
||||
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue