title: Django: m doesn't look like a module path
body: <p>I can vistit the /admin url</p>
  
  <p>but went I login admin or call my login api. I got this error message</p>
  
  <p>error:</p>
  
  <pre><code>ImportError at /admin/login/
  m doesn't look like a module path
  Request Method: POST
  Request URL:    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  Django Version: 1.8.17
  Exception Type: ImportError
  Exception Value:    
  m doesn't look like a module path
  Exception Location: /root/.virtualenvs/areyoutired/lib/python3.4/site-packages/django/utils/module_loading.py in import_string, line 21
  Python Executable:  /usr/local/bin/uwsgi
  Python Version: 3.4.3
  Python Path:    
  ['.',
   '',
   '/root/.virtualenvs/areyoutired/lib/python3.4',
   '/root/.virtualenvs/areyoutired/lib/python3.4/plat-x86_64-linux-gnu',
   '/root/.virtualenvs/areyoutired/lib/python3.4/lib-dynload',
   '/usr/lib/python3.4',
   '/usr/lib/python3.4/plat-x86_64-linux-gnu',
   '/root/.virtualenvs/areyoutired/lib/python3.4/site-packages']
  </code></pre>