This commit is contained in:
Jędrzej Klepacki 2021-01-02 11:38:07 +01:00
parent 49d1a18d64
commit 3e7517d406
5 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ WSGI_APPLICATION = 'SocialHelper.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql', 'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres', 'NAME': 'socialhelperdb',
'USER': 'postgres', 'USER': 'postgres',
'PASSWORD': 'admin', 'PASSWORD': 'admin',
'HOST': 'localhost' 'HOST': 'localhost'

View File

@ -142,7 +142,7 @@ def filter(request):
if usluga_local != "on" and przedmiot_local == "on": if usluga_local != "on" and przedmiot_local == "on":
zmienna = 2 zmienna = 2
all_product = all_product.filter(type=zmienna)z all_product = all_product.filter(type=zmienna)
types = TYPE_T types = TYPE_T