Forums

Django Tutorial from the PythonAnywhere dashboard

I do not know if this is a question, perhaps I should submit this as feedback.

I have been programming for half a century but I am new to Python, Django and PythonAnywhere. When I first saw the PythonAnywhere home page I saw things like:

  • Machines with a full Python environment
  • No need to configure or maintain a web server
  • We make a normally complicated process very simple

Then after I joined I wanted to find a tutorial that would get me started with websites using Python, not plain Python. I found The Python Tutorial — Python 3.9.6 documentation but I was concerned that that tutorial (and tutorials like it) would teach me things that I do not need to learn yet, as the PythonAnywhere home page promises.

I could not get back to the PythonAnywhere home page, I just got the dashboard when I tried. I probably could have signed out but I just used a different browser. So then I was able to find Following the official Django Tutorial on PythonAnywhere | PythonAnywhere help. That looks good. Am I correct that that is like a bridge to get me started and that then I can continue using the python.org tutorial?

My feedback is that it was not easy to find that article after I created an account.

You can try that tutorial. It has deployment to PythonAnywhere covered.

Thank you.

For the Django Girls Tutorial we are shown how to configure everything for local testing prior to putting the website online. Correct? One advantage of PythonAnywhere is that we do not need to do most of that configuration, correct? If I use the other tutorials (that I mention above) then I can do it all online and avoid doing the configuration.

I agree that I should learn how to configure everything but it is a matter of priorities. Also, I am using an IDE that handles most of the local configuration but that is a subject that I need to create a separate question for.

Locally you can just run the development server with runserver command. On PythonAnywhere you could either run the simple script like described here or configure more elements by yourself like it's described here.

Somehow we are not communicating.

The Django Girls tutorial has an entire section on deploying the web app that you've created on PythonAnywhere.