Merge pull request #416 from SchrodingersGat/no-postgresql

Comment out postgres requirement
This commit is contained in:
Oliver 2019-07-02 18:47:30 +10:00 committed by GitHub
commit cf02cb9c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -153,14 +153,15 @@ DATABASES = {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'inventree_db.sqlite3'),
},
'postgresql': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'inventree',
'USER': 'inventreeuser',
'PASSWORD': 'inventree',
'HOST': 'localhost',
'PORT': '',
}
# TODO - Uncomment this when postgresql support is re-integrated
# 'postgresql': {
# 'ENGINE': 'django.db.backends.postgresql',
# 'NAME': 'inventree',
# 'USER': 'inventreeuser',
# 'PASSWORD': 'inventree',
# 'HOST': 'localhost',
# 'PORT': '',
# }
}
CACHES = {

View File

@ -1,5 +1,5 @@
Django==2.2.2 # Django package
psycopg2>=2.8.1 # PostgreSQL package
# psycopg2>=2.8.1 # PostgreSQL package
pillow>=5.0.0 # Image manipulation
djangorestframework>=3.6.2 # DRF framework
django-cors-headers>=2.5.3 # CORS headers extension for DRF