title: Django looks for templates in my .envs folder (+ Django Admin)
body: <p>I have my folders set up like this:</p>
  
  <pre><code>~/projects/myproject/
  ~/.envs/myproject/
  </code></pre>
  
  <p>My app folders look like this:</p>
  
  <pre><code>myapp/
  ├── __init__.py
  ├── admin.py
  ├── forms.py
  ├── migrations/
  ├── models.py
  ├── tests/
  ├── templates/
  ├── urls.py
  ├── views.py
  </code></pre>
  
  <p>I just implemented a custom password reset view, because I wanted to use my own templates. The problem is, that the password reset view does not find my template. Here is my view:</p>
  
  <pre><code>class CustomPasswordResetConfirmView(views.PasswordResetConfirmView):
      success_url = reverse_lazy("accounts:password_reset_complete")
      template_name = "accounts/registration/password_reset_confirm.html"
  </code></pre>
  
  <p>And here is the error message that I get:</p>
  
  <pre><code>TemplateDoesNotExist at /auth/reset/MQ/set-password/
  accounts/registration/password_reset_confirm.html.
  Request Method: GET
  Request URL:    http://localhost:8000/auth/reset/MQ/set-password/
  Django Version: 1.11.13
  Exception Type: TemplateDoesNotExist
  Exception Value:    
  accounts/registration/password_reset_confirm.html.
  Exception Location: /Users/jan/.envs/myproject/lib/python3.6/site-packages/django/template/loader.py in select_template, line 53
  Python Executable:  /Users/jan/.envs/myproject/bin/python
  Python Version: 3.6.5
  Python Path:    
  ['/Users/jan/Dev/Misc Tutorial/myproject',
   '/Users/jan/.envs/myproject/lib/python36.zip',
   '/Users/jan/.envs/myproject/lib/python3.6',
   '/Users/jan/.envs/myproject/lib/python3.6/lib-dynload',
   '/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6',
   '/Users/jan/.envs/myproject/lib/python3.6/site-packages']
  </code></pre>
  
  <p>How can I get Django to find my custom templates? From the error I can tell that he looks in my virtual environments.</p>
  
  <p>I tried specifying the templates path like this:</p>
  
  <pre><code>TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [
              [os.path.join(BASE_DIR, 'templates')]
          ],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.contrib.auth.context_processors.auth',
                  'django.template.context_processors.debug',
                  'django.template.context_processors.i18n',
                  'django.template.context_processors.media',
                  'django.template.context_processors.static',
                  'django.template.context_processors.tz',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  </code></pre>
  
  <p>The code for this I got from the Django documentation. Unfortunately this doesn't help. If you have any idea how I can fix this, I would be very thankful!</p>
  
  <p>(On a related note, I also tried to use django-admin instead of manage.py, because the official docs recommend it. But I couldn't set the DJANGO_SETTINGS_MODULE env variable so that it works. Maybe this problem is related.)</p>
  
  <p>EDIT: The app for the account related stuff is called accounts. In it is a folder called templates, holding various other folders, one is called 'registration'.</p>