fix
This commit is contained in:
parent
49d1a18d64
commit
3e7517d406
Binary file not shown.
@ -77,7 +77,7 @@ WSGI_APPLICATION = 'SocialHelper.wsgi.application'
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
'NAME': 'postgres',
|
||||
'NAME': 'socialhelperdb',
|
||||
'USER': 'postgres',
|
||||
'PASSWORD': 'admin',
|
||||
'HOST': 'localhost'
|
||||
|
Binary file not shown.
Binary file not shown.
@ -123,7 +123,7 @@ def filter(request):
|
||||
potrzebuje_local = request.POST['Potrzebuje']
|
||||
usluga_local = request.POST['usluga']
|
||||
przedmiot_local = request.POST['przedmiot']
|
||||
|
||||
|
||||
|
||||
if place_local != "":
|
||||
all_product = all_product.filter(place=place_local)
|
||||
@ -142,7 +142,7 @@ def filter(request):
|
||||
|
||||
if usluga_local != "on" and przedmiot_local == "on":
|
||||
zmienna = 2
|
||||
all_product = all_product.filter(type=zmienna)z
|
||||
all_product = all_product.filter(type=zmienna)
|
||||
|
||||
|
||||
types = TYPE_T
|
||||
|
Loading…
Reference in New Issue
Block a user