diff --git a/sirest/settings.py b/sirest/settings.py index 2722869896c461acb5f0111c3bf39c756eafe141..6b58847a0421fbf8d540f5fa1ad0ff475ea8fbf3 100644 --- a/sirest/settings.py +++ b/sirest/settings.py @@ -95,9 +95,9 @@ DATABASES = { 'ENGINE': 'django.db.backends.postgresql', 'NAME' : 'railway', 'USER' : 'postgres', - 'PASSWORD' : 'tIDurBDfmgUuD3TOcscW', - 'HOST' : 'containers-us-west-156.railway.app', - 'PORT' : '8035' + 'PASSWORD' : '2fsJCPn53SqthFvo4tLq', + 'HOST' : 'containers-us-west-122.railway.app', + 'PORT' : '7959' }, } diff --git a/trigger3/views.py b/trigger3/views.py index 5c4c5b8366ba350474c098543d9506d0d4c9d138..3e1c15c8154ef03efbe5a1df2d5027870539c0a1 100644 --- a/trigger3/views.py +++ b/trigger3/views.py @@ -367,8 +367,8 @@ def menu_restoran_cust(request, rname, rbranch): record = cursor.fetchall() context = { 'dataMenu': record, - 'rname': request.COOKIES.get('rname'), - 'rbranch': request.COOKIES.get('rbranch'), + 'rname': rname, + 'rbranch': rbranch, 'adminid': request.COOKIES.get('adminid'), 'role': role }