Esta dando erro ao importar perfil module:
ImportError at /
No module named views
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.7.4
Exception Type: ImportError
Exception Value:
No module named views
Exception Location: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py in import_module, line 37
Python Executable: /Users/allen/.virtualenvs/connectin/bin/python
Python Version: 2.7.10
Python Path:
['/Users/allen/alura/django/connectin',
'/Users/allen/.virtualenvs/connectin/lib/python27.zip',
'/Users/allen/.virtualenvs/connectin/lib/python2.7',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/plat-darwin',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/plat-mac',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/lib-tk',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/lib-old',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/allen/.virtualenvs/connectin/lib/python2.7/site-packages']
Server time: Sun, 23 Dec 2018 12:27:28 +0000
E esta assim:
from perfis import views