Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
d6d3ca14
Commit
d6d3ca14
authored
Jul 07, 2013
by
Serge S. Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python 3 fixes
parent
d01561fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rediscli.py
flask_admin/contrib/rediscli.py
+1
-1
response.html
flask_admin/templates/admin/rediscli/response.html
+1
-1
No files found.
flask_admin/contrib/rediscli.py
View file @
d6d3ca14
...
@@ -94,7 +94,7 @@ class RedisCli(BaseView):
...
@@ -94,7 +94,7 @@ class RedisCli(BaseView):
doc
=
(
getattr
(
attr
,
'__doc__'
,
''
)
or
''
)
.
strip
()
doc
=
(
getattr
(
attr
,
'__doc__'
,
''
)
or
''
)
.
strip
()
self
.
commands
[
name
]
=
(
attr
,
doc
)
self
.
commands
[
name
]
=
(
attr
,
doc
)
for
old
,
new
in
self
.
remapped_commands
:
for
new
,
old
in
self
.
remapped_commands
.
items
()
:
self
.
commands
[
new
]
=
self
.
commands
[
old
]
self
.
commands
[
new
]
=
self
.
commands
[
old
]
def
_contribute_commands
(
self
):
def
_contribute_commands
(
self
):
...
...
flask_admin/templates/admin/rediscli/response.html
View file @
d6d3ca14
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
{% endif %}
{% endif %}
{% elif type == 'str' or type == 'unicode' %}
{% elif type == 'str' or type == 'unicode' %}
"{{ item }}"
"{{ item }}"
{% elif type == 'b
inary
' %}
{% elif type == 'b
ytes
' %}
"{{ item.decode('utf-8') }}"
"{{ item.decode('utf-8') }}"
{% elif type == 'TextWrapper' %}
{% elif type == 'TextWrapper' %}
<pre>
{{ item }}
</pre>
<pre>
{{ item }}
</pre>
...
...
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