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.

Reply via email to