Deploy Django Website To PythonAnywhere

  Рет қаралды 36,144

Benjamin Carlson

Benjamin Carlson

Күн бұрын

Пікірлер: 62
@gocepaunov1221
@gocepaunov1221 2 жыл бұрын
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 !
@ahmadsharifkhannoor
@ahmadsharifkhannoor 4 жыл бұрын
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.
@a.rahman1728
@a.rahman1728 3 жыл бұрын
You are amazing @Benjamin. Thanks a lot for very a clear and logical explanation. Just wow
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
Appreciate it!
@OmniVascular
@OmniVascular Жыл бұрын
Same. So glad I found this vid, explained simply/clearly what many other YTers couldn't do. Keep it up!
@paloma_dev
@paloma_dev 2 жыл бұрын
The best tutorial, ever! Thanks!
@BenjaminCarlson
@BenjaminCarlson 2 жыл бұрын
Thanks!
@shreyasingh542
@shreyasingh542 3 жыл бұрын
You are the best! The allowed host thing worked for me. I was about to give up on it. Thank you so much!
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
Great to hear!
@rinkeshranpariya887
@rinkeshranpariya887 3 жыл бұрын
Very helpful video brother 🤙❤️ Thanks for this video
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
My pleasure
@bluecodes5881
@bluecodes5881 3 жыл бұрын
Great tutorial. One suggestion though: You shouldn't have DEBUG=True in production.
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
That's correct. I just went through the steps to deploy to PythonAnywhere in this video but you should definitely make sure your app is production ready!
@vinayr1775
@vinayr1775 3 жыл бұрын
@@BenjaminCarlson What should I do to make my app production ready?
@nileshdeore
@nileshdeore 2 жыл бұрын
Thank's bro your video help allot for me.
@tigreonice2339
@tigreonice2339 2 жыл бұрын
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
@daveop8788
@daveop8788 4 жыл бұрын
Good Job brother👍🏻
@deki90to
@deki90to 2 жыл бұрын
GOLD VIDEO!
@fullstackweb_developer
@fullstackweb_developer 7 ай бұрын
thank bro 👍👍🙌🙌
@AKSH_DESAI
@AKSH_DESAI 3 жыл бұрын
I can't host my django file in Pythonanywhere. Please help me 🙏
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
What error are you getting?
@AKSH_DESAI
@AKSH_DESAI 3 жыл бұрын
@@BenjaminCarlson okay now I host my django website on pythonanywhere. Thank you 😊
@recourse8759
@recourse8759 3 жыл бұрын
how to change branch from main to master in dashboard?
@Iambilalakbar
@Iambilalakbar 3 жыл бұрын
Like Your Video, it worked Thanks
@utkarshsharma107
@utkarshsharma107 2 жыл бұрын
I cannot use admin after deployment please help
@muruganraja9
@muruganraja9 3 жыл бұрын
Nice explanation. It is possible to backup and restore the mysql database with free tier if possible how to do.
@reksmeyok1957
@reksmeyok1957 3 жыл бұрын
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.
@sivakumarchodavarapu7222
@sivakumarchodavarapu7222 3 жыл бұрын
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.
@saadksm
@saadksm 3 жыл бұрын
Same here...
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
This link works for me: benjamincarlson.pythonanywhere.com/
@surbhityagi2710
@surbhityagi2710 3 жыл бұрын
After running "./manage.py migrate" I am getting this error :- """"Your models in app(s): 'Portal' have changes that are not yet reflected in a migration, and so won't be applied. Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them."""" Please help as soon as possible
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
You just have to run the makemigrations command first!
@surbhityagi2710
@surbhityagi2710 3 жыл бұрын
@@BenjaminCarlson I have done that but still I am getting same error, please help me I am not able to move forward because of this error
@janing06
@janing06 Жыл бұрын
How to use external database
@liviumircea6905
@liviumircea6905 3 жыл бұрын
Good :)
@ylrmali
@ylrmali 2 жыл бұрын
I don't have a env files, ıs that a problem ?
@AlexanderHernandez-gu7wy
@AlexanderHernandez-gu7wy 2 жыл бұрын
thanks
@될
@될 Жыл бұрын
It says Error: That port is already in use.
@minihohtis5906
@minihohtis5906 2 жыл бұрын
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.
@enes222
@enes222 3 жыл бұрын
I can't see my running migrations section like that 9:17 Why please help
@enes222
@enes222 3 жыл бұрын
Ok I got it. I set up my database in settings.py like so: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': '$, 'USER': '', 'PASSWORD': '', 'HOST': 'user.mysql.pythonanywhere-services.com', } } and after I deleted all of my migrations in app folder. and py manage.py makemigrations py manage.py migrate OK Done :S
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
Glad you were able to figure it out!
@enes222
@enes222 3 жыл бұрын
@@BenjaminCarlson Thanks you helped out me really much
@obapalacebenin9413
@obapalacebenin9413 2 жыл бұрын
static file doesn't load even after configuring it although you didn't cover that, feels like a wasted time watching this.
@pineforest8316
@pineforest8316 2 жыл бұрын
This Usl didn't work at all, what is it that is
@AKSH_DESAI
@AKSH_DESAI 3 жыл бұрын
Can anyone please help me.
@AKSH_DESAI
@AKSH_DESAI 3 жыл бұрын
Hello sir. Please help 🙏
@peacestar4427
@peacestar4427 3 жыл бұрын
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 ;
@haydencordeiro
@haydencordeiro 3 жыл бұрын
Don't put 127..../todos in urls.py Keep it relative for eg /todos
@muhammadzafran4224
@muhammadzafran4224 3 жыл бұрын
You are missing so many things which is gonna make followers in trouble later.
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
This is a quick start that gets you up and running with PythonAnywhere. Could you elaborate on what I might be missing so others can benefit? Simply commenting that this is a bad tutorial without specifying what is incorrect is not very helpful.
@ramakantsoni8340
@ramakantsoni8340 4 жыл бұрын
bro my html part is not working ... arahul.pythonanywhere.com /it will be great if you can help
@BenjaminCarlson
@BenjaminCarlson 4 жыл бұрын
I went to the link and it looks like everything is loading correctly (no errors in console). What exactly is the part you are having a problem with?
@ramakantsoni8340
@ramakantsoni8340 4 жыл бұрын
@@BenjaminCarlson first of all thank you man ... The problem is that the project also contain three blogs which is not shown on this site but my local server is showing that part .. you can check it on my git hub repo link - github.com/Ramakant849/First-blog once again thanks for help ...
@truedarkness1337
@truedarkness1337 3 жыл бұрын
I got this Error code: Unhandled Exception :(
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
Could you provide the rest of the error and what step you were on?
@truedarkness1337
@truedarkness1337 3 жыл бұрын
@@BenjaminCarlson thanks for replying, it was a database ( sqlite3 ) error, i googled for a few hours and found a solution to it.
@BenjaminCarlson
@BenjaminCarlson 3 жыл бұрын
Glad you were able to fix it!
@saagar202
@saagar202 3 жыл бұрын
@@truedarkness1337 I am facing the same problem. how did you solve it? could you provide me with a link to the solution?
@cristianjaimes9459
@cristianjaimes9459 2 жыл бұрын
@@BenjaminCarlson hi, same problem here, googled it but I cannot solve it yet
@haruboss_
@haruboss_ 3 жыл бұрын
thanks
Deploy a Django web app to Python Anywhere [FREE]
19:04
Cloud With Django
Рет қаралды 141 М.
Deploy Django Website to Amazon Web Services (Elastic Beanstalk)
14:39
Benjamin Carlson
Рет қаралды 65 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,9 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 26 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 61 МЛН
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 178 МЛН
Deploy Django Website to Google Cloud
23:10
Benjamin Carlson
Рет қаралды 52 М.
Deploy a Django Web App on PythonAnywhere.
16:11
Code With Clinton
Рет қаралды 29 М.
Deploy a Django App to Python Anywhere
15:11
Pretty Printed
Рет қаралды 194 М.
How to Deploy a Django App and Postgres Database to Render
20:14
Pretty Printed
Рет қаралды 36 М.
How To Deploy Django Application In CPANEL 2022 | SIMPLE
19:15
Bernard Mwanza
Рет қаралды 57 М.
Deploy a Django web app to Vercel [FREE]
18:21
Cloud With Django
Рет қаралды 82 М.
How To Create a Python API With FastAPI - Full Tutorial
25:39
Tech With Tim
Рет қаралды 50 М.
Deploy A Django Rest API on PythonAnywhere for Free.
28:59
Code With Clinton
Рет қаралды 6 М.
Installing Django 4.2 on PythonAnywhere
21:14
Chuck Severance
Рет қаралды 8 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,9 МЛН