title: Django import issues not working propely
body: <p>i'm passing this guide: <a href="http://www.djangobook.com/en/2.0/chapter04.html" rel="nofollow">http://www.djangobook.com/en/2.0/chapter04.html</a> </p>
  
  <p>It instruct to do:</p>
  
  <blockquote>
    <p>We no longer have to import get_template, Template, Context, or
    HttpResponse. Instead, we import django.shortcuts.render. The import
    datetime remains.</p>
  </blockquote>
  
  <p>However when I'm doing it in my code:</p>
  
  <pre><code>from django.http import Http404
  import datetime
  from  django.shortcuts.render
  def current_datetime(request):
      now = datetime.datetime.now()
      return render(request, 'current_datetime.html', {'current_date': now})
  </code></pre>
  
  <p>I get these errors: </p>
  
  <p>on import render line:</p>
  
  <blockquote>
    <p>Expected:import</p>
  </blockquote>
  
  <p>on render code line:</p>
  
  <blockquote>
    <p>Undefined variable: render</p>
  </blockquote>
  
  <p>if I change the import to :</p>
  
  <pre><code>from  django.shortcuts import render
  </code></pre>
  
  <p>then everything is working.</p>
  
  <p>Why is this happaning?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <pre><code> from django.http import Http404
      import datetime
      import django.shortcuts.render
      def current_datetime(request):
          now = datetime.datetime.now()
          return render(request, 'current_datetime.html', {'current_date': now})
  </code></pre>
  
  <p>not working either see print screen:</p>
  
  <p><a href="http://i57.tinypic.com/5cyiz7.png" rel="nofollow">http://i57.tinypic.com/5cyiz7.png</a></p>
  
  <p>it tells me that the import is unused and still doesn't recognize render</p>