title: Include is not defined
body: <p>To clarify Security is the project folder, and Accounts is the app.  I'm sure this is an elementary issue that i'm overlooking, but i've been struggling to get my manged.py commands to work because the following error:</p>
  
  <p>NameError: name 'include' is not defined.</p>
  
  <p>My project (Security) urls.py is the following, which does have include:</p>
  
  <pre><code>from django.conf.urls import url, include
  from django.contrib import admin
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^account/', include('accounts.url')),
  ]
  </code></pre>
  
  <p>My Accounts apps.py contains:</p>
  
  <pre><code>from django.apps import AppConfig
  
  
      class AccountsConfig(AppConfig):
          name = 'accounts'
  </code></pre>
  
  <p>My Accounts app urls.py is the following:</p>
  
  <pre><code>      from django.conf.urls import url, include
  
  from . import views
  
  urlpatterns = [
     url(r'^$', views.home, name='home'),
  ]
  </code></pre>
  
  <p>My settings.py has accounts in the installed apps:</p>
  
  <pre><code>INSTALLED_APPS = [
      'accounts',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  ]
  </code></pre>
  
  <p>After adding include to be in both urls.py for my project and app, i'm now greeted with the following stating accounts module is not found.</p>
  
  <pre><code>    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 948, in _find_and_load_unlocked
  ModuleNotFoundError: No module named 'accounts.url'
  </code></pre>