title: Django name 'admin' is not defined
body: <p>I'm following this tutorial and i have some troubles. 
    <a href="https://www.youtube.com/watch?v=3tf8XlhsQAo" rel="nofollow noreferrer">https://www.youtube.com/watch?v=3tf8XlhsQAo</a></p>
  
  <pre><code>"""mysite URL Configuration
  
  The `urlpatterns` list routes URLs to views. For more information please see:
      https://docs.djangoproject.com/en/1.11/topics/http/urls/
  Examples:
  Function views
      1. Add an import:  from my_app import views
      2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
  Class-based views
      1. Add an import:  from other_app.views import Home
      2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
  Including another URLconf
      1. Import the include() function: from django.conf.urls import url, include
      2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
  """
  from django.conf.urls import url, include
  from django.contrib import admin
  admin.autodiscover()
  
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      # url(r'^webapp/', include("webapp.urls")),
      url(r'^$',include("personal.urls")),
  
  ]
  </code></pre>
  
  <p>I've written the code above, however when I executed I get the error below, can anyone help me understand the meaning of this error message?</p>
  
  <pre><code>  File "&lt;frozen importlib._bootstrap&gt;", line 961, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 950, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 655, in _load_unlocked
    File "&lt;frozen importlib._bootstrap_external&gt;", line 678, in exec_module
    File "&lt;frozen importlib._bootstrap&gt;", line 205, in _call_with_frames_removed
    File "C:\Users\USER\Desktop\Django\mysite\mysite\urls.py", line 24, in &lt;modu
  &gt;
      url(r'^$',include("personal.urls")),
    File "C:\Users\USER\AppData\Local\Programs\Python\Python36-32\lib\site-packa
  s\django\conf\urls\__init__.py", line 52, in include
      urlconf_module = import_module(urlconf_module)
    File "C:\Users\USER\AppData\Local\Programs\Python\Python36-32\lib\importlib\
  init__.py", line 126, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 978, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 961, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 950, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 655, in _load_unlocked
    File "&lt;frozen importlib._bootstrap_external&gt;", line 678, in exec_module
    File "&lt;frozen importlib._bootstrap&gt;", line 205, in _call_with_frames_removed
    File "C:\Users\USER\Desktop\Django\mysite\personal\urls.py", line 5, in &lt;mod
  e&gt;
      url(r'^admin/',admin.site.urls),
  NameError: name 'admin' is not defined
  </code></pre>