Deploy Django Website To PythonAnywhere

Deploy Django Website To PythonAnywhere

Benjamin Carlson

3 года назад

35,487 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

janing
janing - 15.08.2023 03:01

How to use external database

Ответить
Stacey Melnick
Stacey Melnick - 12.03.2023 01:58

Great tutorial. Wish that you mentioned that for the free version we need to add a secure key to GitHub

Ответить
나는 빡빡이가 아니다
나는 빡빡이가 아니다 - 17.11.2022 12:33

It says Error: That port is already in use.

Ответить
Alexander Hernández
Alexander Hernández - 23.10.2022 22:36

thanks

Ответить
Minihohtis
Minihohtis - 04.09.2022 21:26

For anyone getting "Something went wrong :-(" error message on the web page. In my case the path inside wsgi file should not have '/mysite' at the end of the path variable. I removed it and then the website worked. I think this was due to finding 'settings.py' file.

Ответить
Tigre onice
Tigre onice - 31.08.2022 01:02

In settings py. Line 23 secret key and line 26 debug True. It says that it should not be displayed as true in production.
Can I delete those 2 lines? Or already delete them before in the github?
I mean theres a reason why its a Secret Key :p
Please tell me if you know.
Thanks

Ответить
Ali Yıldırım
Ali Yıldırım - 18.08.2022 12:34

I don't have a env files, ıs that a problem ?

Ответить
Goce Paunov
Goce Paunov - 13.07.2022 00:13

Thank you Benjamin! Awesome step by step tutorial. I literally spent 5 hours struggling with heroku and did nothing. This took me only 20 mins. Thanks again !

Ответить
Dejan Jovanovic
Dejan Jovanovic - 01.07.2022 18:55

GOLD VIDEO!

Ответить
NILESH DEORE
NILESH DEORE - 18.06.2022 22:24

Thank's bro your video help allot for me.

Ответить
Paloma Soares
Paloma Soares - 14.06.2022 16:56

The best tutorial, ever! Thanks!

Ответить
Oba Palace Benin
Oba Palace Benin - 03.05.2022 20:23

static file doesn't load even after configuring it although you didn't cover that, feels like a wasted time watching this.

Ответить
Pine Forest
Pine Forest - 18.03.2022 14:54

This Usl didn't work at all, what is it that is

Ответить
Utkarsh Sharma
Utkarsh Sharma - 02.12.2021 06:26

I cannot use admin after deployment please help

Ответить
Murugan Raja
Murugan Raja - 22.09.2021 22:14

Nice explanation. It is possible to backup and restore the mysql database with free tier if possible how to do.

Ответить
liviu mircea
liviu mircea - 09.09.2021 19:30

Good :)

Ответить
AKSH DESAI
AKSH DESAI - 25.07.2021 15:38

Can anyone please help me.

Ответить
AKSH DESAI
AKSH DESAI - 25.07.2021 15:34

Hello sir. Please help 🙏

Ответить
AKSH DESAI
AKSH DESAI - 25.07.2021 15:33

I can't host my django file in Pythonanywhere. Please help me 🙏

Ответить
Muhammad Bilal Akbar
Muhammad Bilal Akbar - 28.06.2021 23:55

Like Your Video, it worked Thanks

Ответить
recourse
recourse - 27.06.2021 17:05

how to change branch from main to master in dashboard?

Ответить
Shreya Singh
Shreya Singh - 17.06.2021 23:03

You are the best! The allowed host thing worked for me. I was about to give up on it. Thank you so much!

Ответить
sivakumar chodavarapu
sivakumar chodavarapu - 26.04.2021 18:28

There was an error loading your PythonAnywhere-hosted site. There may be a bug in your code.

Error code: Unhandled Exception


im getting this error while loading the page. please help me.

Ответить
Harshit Saxena
Harshit Saxena - 12.04.2021 19:41

thanks

Ответить
Rinkesh Ranpariya
Rinkesh Ranpariya - 01.04.2021 16:39

Very helpful video brother 🤙❤️
Thanks for this video

Ответить
Muhammad Zafran
Muhammad Zafran - 13.03.2021 11:39

You are missing so many things which is gonna make followers in trouble later.

Ответить
A. Rahman
A. Rahman - 17.02.2021 15:32

You are amazing @Benjamin. Thanks a lot for very a clear and logical explanation. Just wow

Ответить
peace star
peace star - 11.02.2021 10:47

How to change API endpoints while deploying to public when localhost is there in endpoints , eg : 120.x.x.x:8000/to-dos , how to change this when deploying ? Won't it affect the end point for get and post ? Pls help anyone ;

Ответить
Reksmey Ok
Reksmey Ok - 10.02.2021 04:29

Thank you for your clearly guiding video. I have problem with virtualenv. I have two virtual env - one from the project and the other created in pythonanywhere bash console. It lead to conflicting python version and cause uploading the image entry on admin page error of PIL error message. And I saw you have virtual env of your project from GitHub repo too and also you created another in the pythonanywhere bash console too.

Ответить
Bluecodes
Bluecodes - 23.01.2021 18:22

Great tutorial.
One suggestion though: You shouldn't have DEBUG=True in production.

Ответить
TrueDarkness
TrueDarkness - 24.11.2020 18:14

I got this Error code: Unhandled Exception :(

Ответить
Ahmed Sharif Khan Noor
Ahmed Sharif Khan Noor - 19.10.2020 16:56

I have been looking for videos making on python anywhere and Django deploys on it. This is the right and easy video tutorial to host your Django app so far.
Thank you so much.

Ответить
DaveOP
DaveOP - 14.10.2020 14:17

Good Job brother👍🏻

Ответить