Skip to content

Commit b4107d6

Browse files
committed
Change text and default parameter
1 parent 7a34cec commit b4107d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

django_mongodb_backend/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def loads(self, data):
2222
except (ValueError, TypeError):
2323
if not isinstance(data, bytes):
2424
raise ValueError("Invalid data type for unpickling") from None
25-
return pickle.loads(data, fix_imports=False) # noqa: S301
25+
return pickle.loads(data) # noqa: S301
2626

2727

2828
class Options:

django_mongodb_backend/management/commands/createcachecollection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ def check_collection(self, database, collection_name):
5353

5454
if collection_name in connection.introspection.table_names():
5555
if self.verbosity > 0:
56-
self.stdout.write("Cache table '%s' already exists." % collection_name)
56+
self.stdout.write("Cache collection '%s' already exists." % collection_name)
5757
return
5858
cache.create_indexes()

0 commit comments

Comments
 (0)