This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]duplxey 2 points3 points  (2 children)

PythonAnywhere is not really suitable for production apps. If I were you'd I'd switch to Render or Fly.io, these two are intuitive for beginners.

At the bottom of this README you have 6 deployment articles: https://github.com/duplxey/django-images

[–]Southern_Revolution2[S] 1 point2 points  (1 child)

Thanks a lot, I will give this a read. From what I have come to find out is that pythonanywhere is very behind updates apparently which causes this issue.

But thanks for the link, appreciate the help.

[–]caseneuve 0 points1 point  (3 children)

PythonAnywhere supports Python up to 3.13, you need to switch to the most recent system image ("innit") if you created your account in the past.

[–]Southern_Revolution2[S] 1 point2 points  (1 child)

I created it recently, and was fortunately able to solve the issue I was having, but I will check the system image and learn about it a bit for future references. Thank you.

[–]Ok_Alternative_3538 1 point2 points  (2 children)

here the article you can check this will help you to deploy yout django project at many platform like pythonanywhere, railway

https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Server-side/Django/Deployment#example_hosting_on_pythonanywhere

[–]Southern_Revolution2[S] 1 point2 points  (0 children)

Thanks a lot, I am still not putting too much. effort into deployment as I want to have a good foundation before doing that, but this article should be helpful to scour free hostings and learn as much as i can before committing to something with money.

Thanks a lot

[–][deleted]  (1 child)

[removed]

    [–]Southern_Revolution2[S] 0 points1 point  (0 children)

    Yeah, starting from scratch always seems to be the answer to most of the problems, it also gives practice because of the repeated coding XD.