Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
2b862c45
Commit
2b862c45
authored
Oct 10, 2019
by
赵威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore redis_url
parent
e2bbb0f1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
settings_local.py.template
physical/settings_local.py.template
+1
-2
tag.py
search/views/tag.py
+0
-1
No files found.
physical/settings_local.py.template
View file @
2b862c45
...
...
@@ -103,8 +103,7 @@ ROOT_URLCONF = 'physical.urls'
WSGI_APPLICATION = 'physical.wsgi.application'
# REDIS_URL = "redis://127.0.0.1:6379"
REDIS_URL = "redis://172.21.52.16.6379"
REDIS_URL = "redis://127.0.0.1:6379"
# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
...
...
search/views/tag.py
View file @
2b862c45
...
...
@@ -144,7 +144,6 @@ def choice_pictorial_push_tag(device_id, user_id):
return
{
"pictorial_tag_list"
:
[]}
# TODO uncomment redis_url
@bind
(
"physical/search/lintag_by_user_id"
)
def
get_lintags_by_user_id
(
user_id
):
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment