Comment out postgres requirement

This commit is contained in:
Oliver Walters 2019-07-02 18:44:49 +10:00
parent 9176792fa0
commit 4f5b87dd38
2 changed files with 10 additions and 9 deletions

View File

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

View File

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