It is not looking for "home_page.html", it is looking for "base/home_page.html". On the error page it lists the locations it is searching for the template, and explicitly says the directories that are being searched.
You say the file is at /home/<user>/bakerydemo/bakerydemo/templates/base/home_page.html It says it is looking in /var/www/bakerydemo/templates/ This means that your TEMPLATES['DIRS'] setting is wrong. Looking at the configuration section of the error report shows that you have put a relative path into TEMPLATE['DIRS']. Use settings.PROJECT_ROOT to make that in to an absolute path, as the example settings.py tells you to do. Cheers Tom PS - there is very little point anonymising your username when you share the full error report. On Tue, Mar 20, 2018 at 4:14 PM, drone4four <drone4f...@gmail.com> wrote: > Thank you, Andreas. I added the python-path to my Apache ssl.conf and the > Internal Server Error is gone now. It appears WSGI is serving my Django > project perfectly. > > I adjusted ALLOWED_HOSTS just fine. But now Django is saying something about > "TemplateDoesNotExist at /" in base/home_page.html. You can see the full > Django traceback here: https://daniel496.agency/ > > $ locate home_page.html > /home/<user>/.virtualenvs/wagtailbakerydemo/lib/python3.4/site-packages/wagtail/project_template/home/templates/home/home_page.html > /home/<user>/bakerydemo/bakerydemo/templates/base/home_page.html > > The home_page.html file is present but apparently it is not being referred > to properly in my configuration. Can anyone shed some light on what the > issue could be now? > > Thanks. > > On Tuesday, March 20, 2018 at 5:45:27 AM UTC-4, Cictani wrote: >> >> You have to set the python-path too: >> >> WSGIDaemonProcess bakerydemo >> python-home=/home/<user>/.virtualenvs/wagtailbakerydemo/ >> python-path=/home/<user>/bakerydemo/ >> >> In the logs you see "No module named 'bakerydemo'" because you did not add >> the project directory to the python-path. Hope this works. >> >> Best regards >> >> Andreas > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d90b8924-5458-4c0e-8f0f-2866af4dd156%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFHbX1%2B%2BfRpK3EqfqqojAt9%2BUyWyx79QYo-nopq0zx38Bdi93Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.