Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django.template.exceptions.TemplateDoesNotExist #15

Open
Ravisen22 opened this issue Oct 4, 2020 · 6 comments
Open

django.template.exceptions.TemplateDoesNotExist #15

Ravisen22 opened this issue Oct 4, 2020 · 6 comments

Comments

@Ravisen22
Copy link

I am getting the following errors when I run python manage.py runserver

Request Method: GET
http://127.0.0.1:8000/
3.0.4
TemplateDoesNotExist
movies/movies_stuff.html
Z:\Courses2\cp-movie-app\venv\lib\site-packages\django\template\loader.py in get_template, line 19
Z:\Courses2\cp-movie-app\venv\scripts\python.exe
3.8.3
['Z:\Courses2\cp-movie-app', 'C:\Users\Ravisen\anaconda3\python38.zip', 'C:\Users\Ravisen\anaconda3\DLLs', 'C:\Users\Ravisen\anaconda3\lib', 'C:\Users\Ravisen\anaconda3', 'Z:\Courses2\cp-movie-app\venv', 'Z:\Courses2\cp-movie-app\venv\lib\site-packages']
@Ravisen22 Ravisen22 reopened this Oct 4, 2020
@va-andrew
Copy link
Contributor

Hi, can you include some information why/how this might be caused by PhoneField?

@mahs4d
Copy link

mahs4d commented Oct 20, 2020

TemplateDoesNotExist
phone_field/phone_widget

Error during template rendering
In template /home/mahdi/.local/share/virtualenvs/api-lDtxtShb/lib/python3.8/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 19

this can be reproduced if you try to render phone field in a StackedInline.

@va-andrew
Copy link
Contributor

Hi, I tried rendering PhoneField in a StackedInline and didn't encounter any issues. Can you reproduce using https://github.com/VeryApt/django-phone-field/tree/master/test_proj ?

@hamifthi
Copy link

hamifthi commented Jan 4, 2021

Hi, I get the same issue when I tried to load the admin site and add an instance

@jesstucker
Copy link

jesstucker commented Aug 20, 2021

Hi, I get the same issue when I tried to load the admin site and add an instance

Having this issue too.
Django 3.2

@adueppen
Copy link

adueppen commented Nov 29, 2023

Experiencing this as well on Django 4.2 when attempting to include a phone field on the user update form in the admin interface.

EDIT: This is most likely because I forgot to add it to my INSTALLED_APPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants