Commit 2b862c45 authored by 赵威's avatar 赵威

restore redis_url

parent e2bbb0f1
...@@ -103,8 +103,7 @@ ROOT_URLCONF = 'physical.urls' ...@@ -103,8 +103,7 @@ ROOT_URLCONF = 'physical.urls'
WSGI_APPLICATION = 'physical.wsgi.application' WSGI_APPLICATION = 'physical.wsgi.application'
# REDIS_URL = "redis://127.0.0.1:6379" REDIS_URL = "redis://127.0.0.1:6379"
REDIS_URL = "redis://172.21.52.16.6379"
# Database # Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases # https://docs.djangoproject.com/en/1.10/ref/settings/#databases
......
...@@ -144,7 +144,6 @@ def choice_pictorial_push_tag(device_id, user_id): ...@@ -144,7 +144,6 @@ def choice_pictorial_push_tag(device_id, user_id):
return {"pictorial_tag_list": []} return {"pictorial_tag_list": []}
# TODO uncomment redis_url
@bind("physical/search/lintag_by_user_id") @bind("physical/search/lintag_by_user_id")
def get_lintags_by_user_id(user_id): def get_lintags_by_user_id(user_id):
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment