title: How to make urls form one app seen by the other?
body: <p>I did the following:</p>
  <ol>
  <li><p>Created an app <code>usergui</code></p>
  </li>
  <li><p>Included it in settings:</p>
  </li>
  </ol>
  <pre class="lang-py prettyprint-override"><code>INSTALLED_APPS = [
      #default
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  
      #local
      'ticketsdb.apps.TicketsdbConfig',
      'usergui.apps.UserguiConfig'
  ]
  </code></pre>
  <ol start="3">
  <li>Created <code>urls.py inside </code>usergui`</li>
  </ol>
  <pre class="lang-py prettyprint-override"><code>from django.contrib import admin
  from django.urls import path
  from . import views
  
  urlpatterns = [
      path('', views.auth.as_view(), name=&quot;auth&quot;)
  ]
  </code></pre>
  <ol start="4">
  <li>Modified urls.py in the main folder as following:</li>
  </ol>
  <pre class="lang-py prettyprint-override"><code>from django.contrib import admin
  from django.urls import path, include
  
  urlpatterns = [
      path('', include(usergui.urls)),
      path('admin/', admin.site.urls)
  
  ]
  
  </code></pre>
  <p>And I am getting an error:</p>
  <pre class="lang-py prettyprint-override"><code>File &quot;/home/me/Desktop/ticketing/ticketing/ticketing/urls.py&quot;, line 5, in &lt;module&gt;
      path('', include(usergui.urls)),
  NameError: name 'usergui' is not defined
  </code></pre>
  <p>Why does it not recognize the app?</p>