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 !
@ahmadsharifkhannoor4 жыл бұрын
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.rahman17283 жыл бұрын
You are amazing @Benjamin. Thanks a lot for very a clear and logical explanation. Just wow
@BenjaminCarlson3 жыл бұрын
Appreciate it!
@OmniVascular Жыл бұрын
Same. So glad I found this vid, explained simply/clearly what many other YTers couldn't do. Keep it up!
@paloma_dev2 жыл бұрын
The best tutorial, ever! Thanks!
@BenjaminCarlson2 жыл бұрын
Thanks!
@shreyasingh5423 жыл бұрын
You are the best! The allowed host thing worked for me. I was about to give up on it. Thank you so much!
@BenjaminCarlson3 жыл бұрын
Great to hear!
@rinkeshranpariya8873 жыл бұрын
Very helpful video brother 🤙❤️ Thanks for this video
@BenjaminCarlson3 жыл бұрын
My pleasure
@bluecodes58813 жыл бұрын
Great tutorial. One suggestion though: You shouldn't have DEBUG=True in production.
@BenjaminCarlson3 жыл бұрын
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!
@vinayr17753 жыл бұрын
@@BenjaminCarlson What should I do to make my app production ready?
@nileshdeore2 жыл бұрын
Thank's bro your video help allot for me.
@tigreonice23392 жыл бұрын
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
@daveop87884 жыл бұрын
Good Job brother👍🏻
@deki90to2 жыл бұрын
GOLD VIDEO!
@fullstackweb_developer7 ай бұрын
thank bro 👍👍🙌🙌
@AKSH_DESAI3 жыл бұрын
I can't host my django file in Pythonanywhere. Please help me 🙏
@BenjaminCarlson3 жыл бұрын
What error are you getting?
@AKSH_DESAI3 жыл бұрын
@@BenjaminCarlson okay now I host my django website on pythonanywhere. Thank you 😊
@recourse87593 жыл бұрын
how to change branch from main to master in dashboard?
@Iambilalakbar3 жыл бұрын
Like Your Video, it worked Thanks
@utkarshsharma1072 жыл бұрын
I cannot use admin after deployment please help
@muruganraja93 жыл бұрын
Nice explanation. It is possible to backup and restore the mysql database with free tier if possible how to do.
@reksmeyok19573 жыл бұрын
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.
@sivakumarchodavarapu72223 жыл бұрын
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.
@saadksm3 жыл бұрын
Same here...
@BenjaminCarlson3 жыл бұрын
This link works for me: benjamincarlson.pythonanywhere.com/
@surbhityagi27103 жыл бұрын
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
@BenjaminCarlson3 жыл бұрын
You just have to run the makemigrations command first!
@surbhityagi27103 жыл бұрын
@@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 Жыл бұрын
How to use external database
@liviumircea69053 жыл бұрын
Good :)
@ylrmali2 жыл бұрын
I don't have a env files, ıs that a problem ?
@AlexanderHernandez-gu7wy2 жыл бұрын
thanks
@될 Жыл бұрын
It says Error: That port is already in use.
@minihohtis59062 жыл бұрын
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.
@enes2223 жыл бұрын
I can't see my running migrations section like that 9:17 Why please help
@enes2223 жыл бұрын
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
@BenjaminCarlson3 жыл бұрын
Glad you were able to figure it out!
@enes2223 жыл бұрын
@@BenjaminCarlson Thanks you helped out me really much
@obapalacebenin94132 жыл бұрын
static file doesn't load even after configuring it although you didn't cover that, feels like a wasted time watching this.
@pineforest83162 жыл бұрын
This Usl didn't work at all, what is it that is
@AKSH_DESAI3 жыл бұрын
Can anyone please help me.
@AKSH_DESAI3 жыл бұрын
Hello sir. Please help 🙏
@peacestar44273 жыл бұрын
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 ;
@haydencordeiro3 жыл бұрын
Don't put 127..../todos in urls.py Keep it relative for eg /todos
@muhammadzafran42243 жыл бұрын
You are missing so many things which is gonna make followers in trouble later.
@BenjaminCarlson3 жыл бұрын
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.
@ramakantsoni83404 жыл бұрын
bro my html part is not working ... arahul.pythonanywhere.com /it will be great if you can help
@BenjaminCarlson4 жыл бұрын
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?
@ramakantsoni83404 жыл бұрын
@@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 ...
@truedarkness13373 жыл бұрын
I got this Error code: Unhandled Exception :(
@BenjaminCarlson3 жыл бұрын
Could you provide the rest of the error and what step you were on?
@truedarkness13373 жыл бұрын
@@BenjaminCarlson thanks for replying, it was a database ( sqlite3 ) error, i googled for a few hours and found a solution to it.
@BenjaminCarlson3 жыл бұрын
Glad you were able to fix it!
@saagar2023 жыл бұрын
@@truedarkness1337 I am facing the same problem. how did you solve it? could you provide me with a link to the solution?
@cristianjaimes94592 жыл бұрын
@@BenjaminCarlson hi, same problem here, googled it but I cannot solve it yet