Skip to content
Snippets Groups Projects
Commit da88f6dc authored by Martin Burchell's avatar Martin Burchell
Browse files

Fix print without parentheses

parent 724659d0
No related branches found
No related tags found
2 merge requests!166Staging,!157Django 2.2 and Python 3 upgrade
......@@ -267,7 +267,7 @@ class FastDispatchMixin(object):
def stuff_session(self, dictionary):
from django.conf import settings
if settings.SESSION_ENGINE != 'django.contrib.sessions.backends.db':
print "Unknown session engine: %s Sessions won't work" % settings.SESSION_ENGINE
print(f"Unknown session engine: {settings.SESSION_ENGINE} Sessions won't work")
return
self.client.logout()
from django.contrib.sessions.backends.db import SessionStore
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment