title: Django first app from . import views issue
body: <p>***SOLVED: I was using Sublime Text 3 as an IDE and it didn't like the dot in 'from . import views'. I switched to Visual Studio Code and everything is working fine. Thanks to everyone that responded with suggestions and helped!</p>
  
  <p>I'm learning Django by using the Writing your first Django app documentation from the site. I have edited three files.</p>
  
  <p>In the file urls.py in the polls folder:</p>
  
  <pre><code>from django.urls import path
  from . import views
  
  urlpatterns = [
      path('', views.index, name='index'),
  ]
  </code></pre>
  
  <p>In the urls.py in the mysite folder:</p>
  
  <pre><code>from django.contrib import admin
  from django.urls import path, include
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('polls/', include('polls.urls')),
  ]
  </code></pre>
  
  <p>In the views.py in the polls folder:</p>
  
  <pre><code>from django.http import HttpResponse
  
  def index(request):
      return HttpResponse('Hello once again.')
  </code></pre>
  
  <p>I'm using Python 3.7 and Django 2.1.2, could an updated version of either affect this?</p>
  
  <p>Here is error I get from trying to run the server:</p>
  
  <p><code>File "D:\DjangoPractice\mysite\polls.urls.py", line5, in &lt;module&gt; 
     path('', views.index, name='index'),
  AttributeError: module 'polls.views' has no attribute 'index'</code></p>
  
  <p>Any help would be greatly appreciated!</p>