Forums

pa_autoconfigure_django.py

Based on my last post here is the error I'm receiving python.anywhere .exceptions.SanityException: you already have a webapp for codedxcyber11.pythonanywhere.com

The error explains what the problem is. The command that you are running is to create a new website at the address codedxcyber11.pythonanywhere.com, but you already have a website hosted at that address. If you want to delete the existing website and create a new one, then you can add the --nuke command-line option.

so what will i use to restart the website I've already created is it with pa_autoconfigure_django.py https://github.com/github-username/my-first-blog.git --domain= usersdomain.pythonanywhere.com --python=3.8

If you want to delete the website that you created, and created it again afresh, then you can use the --nuke option, as I said in my last post:

pa_autoconfigure_django.py https://github.com/github-username/my-first-blog.git --domain=usersdomain.pythonanywhere.com --python=3.8 --nuke