Dunedan / django-lockdown

Lock down a Django site or individual views, with configurable preview authorization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

io Import Error

tyclarke opened this issue · comments

from StringIO import StringIO

returns the error:
ModuleNotFoundError: No module named 'StringIO'

Change to:

from io import StringIO

Where did you get this error from? This error shouldn't be from django-lockdown as it doesn't use StringIO.

Closing this now, as it doesn't seem to be related to this project.