title: TemplateDoesNotExist at /accounts/login/　error
body: <p>I got an error:</p>
  
  <blockquote>
    <p>TemplateDoesNotExist at /accounts/login/  registration/login.html.</p>
  </blockquote>
  
  <p>I think I should create login.html file but probably it is not required in Django for default beahivor.</p>
  
  <p>After I placed login.html in accounts/templates/accounts the error has not disappeared.What should I do next?</p>
  
  <p>I wrote in urls.py of accounts,</p>
  
  <pre><code>from django.conf.urls import url
  from django.contrib.auth.views import login, logout
  
  urlpatterns = [
      url(r'^login/$', login,
          name='login'),
      url(r'^logout/$', logout, name='logout')
  ]
  </code></pre>
  
  <p>in urls.py of parent app,</p>
  
  <pre><code>from django.conf import settings
  from django.conf.urls import include, url
  from django.conf.urls.static import static
  from django.contrib import admin
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^accounts/', include('accounts.urls')),
      url(r'^api/', include('UserToken.urls')),
  
  ]
  </code></pre>
  
  <p>in TEMPLATES of settings.py of parent app</p>
  
  <pre><code>TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  </code></pre>
  
  <p>I found in blowser,
  emplate-loader postmortem</p>
  
  <p>Django tried loading these templates, in this order:</p>
  
  <p>Using engine django:
  django.template.loaders.app_directories.Loader: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/contrib/admin/templates/registration/login.html (Source does not exist)
  django.template.loaders.app_directories.Loader: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/contrib/auth/templates/registration/login.html (Source does not exist)</p>
  
  <p>I think maybe I should make templates folder.
  Now,I made a directory like accounts/registration/accounts/login.html .
  I cannot understand why error shows 2 ways directory to admin&amp;auth.Should I make admin&amp;auth directory?</p>