mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #416 from SchrodingersGat/no-postgresql
Comment out postgres requirement
This commit is contained in:
commit
cf02cb9c28
@ -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 = {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user