Fix falke8 errors

2 jobs from CI in 17 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Lint
failed #1035
flake8

00:17

 
  Test
skipped #1036
test
 
Lint flake8
Collecting entrypoints<0.4.0,>=0.3.0 (from flake8)
Downloading https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting mccabe<0.7.0,>=0.6.0 (from flake8)
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Installing collected packages: pycodestyle, pyflakes, entrypoints, mccabe, flake8
Successfully installed entrypoints-0.3 flake8-3.7.8 mccabe-0.6.1 pycodestyle-2.5.0 pyflakes-2.1.1
$ flake8 --max-line-length=125 --exclude=migrations
./recircle/instance/views.py:58:45: F821 undefined name 'setting'
ERROR: Job failed: exit code 1