Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
devel:languages:python:django
python-django-reversion
only-sqlite-test-db.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File only-sqlite-test-db.patch of Package python-django-reversion
commit 89982858fd1d7b070acba079dac8d35872541d4e Author: John Vandenberg <jayvdb@gmail.com> Date: Tue Dec 28 09:52:48 2021 +0800 Remove mysql and postgres databases Index: django-reversion-5.0.12/tests/test_project/settings.py =================================================================== --- django-reversion-5.0.12.orig/tests/test_project/settings.py +++ django-reversion-5.0.12/tests/test_project/settings.py @@ -81,20 +81,6 @@ DATABASES = { "ENGINE": "django.db.backends.sqlite3", "NAME": os.path.join(BASE_DIR, "db.sqlite3"), }, - "postgres": { - "ENGINE": "django.db.backends.postgresql_psycopg2", - "HOST": os.environ.get("DJANGO_DATABASE_HOST_POSTGRES", ""), - "NAME": os.environ.get("DJANGO_DATABASE_NAME_POSTGRES", "test_project"), - "USER": os.environ.get("DJANGO_DATABASE_USER_POSTGRES", getpass.getuser()), - "PASSWORD": os.environ.get("DJANGO_DATABASE_PASSWORD_POSTGRES", ""), - }, - "mysql": { - "ENGINE": "django.db.backends.mysql", - "HOST": os.environ.get("DJANGO_DATABASE_HOST_MYSQL", ""), - "NAME": os.environ.get("DJANGO_DATABASE_NAME_MYSQL", "test_project"), - "USER": os.environ.get("DJANGO_DATABASE_USER_MYSQL", getpass.getuser()), - "PASSWORD": os.environ.get("DJANGO_DATABASE_PASSWORD_MYSQL", ""), - }, } DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor