Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
Django-Redis-Cache
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared
Django-Redis-Cache
Commits
a15b2539
Commit
a15b2539
authored
Aug 10, 2015
by
Christian Pedersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return None
parent
ce24c7a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dummy.py
redis_cache/backends/dummy.py
+2
-2
No files found.
redis_cache/backends/dummy.py
View file @
a15b2539
...
@@ -6,7 +6,7 @@ class RedisDummyCache(DummyCache):
...
@@ -6,7 +6,7 @@ class RedisDummyCache(DummyCache):
return
0
return
0
def
delete_pattern
(
self
,
pattern
,
version
=
None
):
def
delete_pattern
(
self
,
pattern
,
version
=
None
):
r
aise
NotImplementedError
r
eturn
None
def
get_or_set
(
self
,
key
,
func
,
timeout
=
None
):
def
get_or_set
(
self
,
key
,
func
,
timeout
=
None
):
if
not
callable
(
func
):
if
not
callable
(
func
):
...
@@ -15,7 +15,7 @@ class RedisDummyCache(DummyCache):
...
@@ -15,7 +15,7 @@ class RedisDummyCache(DummyCache):
return
func
()
return
func
()
def
reinsert_keys
(
self
):
def
reinsert_keys
(
self
):
r
aise
NotImplementedError
r
eturn
None
def
persist
(
self
,
key
):
def
persist
(
self
,
key
):
return
True
return
True
...
...
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