7đź‘Ť
âś…
Make sure you have put mysite
in your INSTALLED_APPS
in settings.py
,
INSTALLED_APPS = (
'mysite',
# ...... the rest of installed apps
)
👤adityasdarma1
1đź‘Ť
I’m a beginner myself but I’ve had such issues with template does not exist. I just found tonight that it was confusing in hindsight where you put the template directory from tutorials. Even though you put an absolute path to your template directory under your project directory, I found if you create the directory under your “app” directory the templates worked.
In your question I can see:
1. You’ve created the project, e.g.
`django-admin.py startproject <app name of your choice>`
BUT
2. You’ve not created an app yet, e.g. cd <directory of choice>
django-admin.py startapp <app name of your choice>
Try creating the app first then putting the templates in there…
👤djangodjango
- [Django]-How to save ManyToMany field in second database
- [Django]-Changing django-storages backend from from s3 to cloudfiles and dealing with old files
Source:stackexchange.com