๐ Django Learning Journey โ Day 15
๐ My first ever Django project is officially LIVE on the internet!
Today feels incredibly special โ the anxiety, the errors, the retriesโฆ everything was worth it.
๐ ๏ธ Fixing โDisallowedHostโ & Diving Into Deployment
The day started with the intimidating โDisallowedHost at /โ error.
But that error pushed me into learning so much more:
๐ง What โhostsโ actually mean in Django
๐ฑ Why production environments care about allowed URLs
๐ And how environment variables work in real-world apps
Thatโs when I discovered python-dotenv.
Installed it โ created my .env โ moved sensitive settings inside it.
A small step, but a big leap in understanding real project structure.
๐ฆ Preparing for Deployment
One of the biggest takeaways today:
pip freeze > requirements.txt
This single command saved me from dependency nightmares during deployment.
To make things clean & reliable:
Reinstalled gunicorn
Added whitenoise to serve static files
Updated settings.py (yesโฆ I left an extra comma at the end initially ๐ )
Created a proper Procfile โ web: gunicorn todo_app.wsgi
Then pushed everything to GitHub โ cleared the build cache โ clicked deploy.
๐ The AWE moment
When Render said โBuild Successfulโ, my heart was racing.
Clicked the linkโฆ
And there it was โ MY app. Live. On the actual internet.
To double-check, I asked a friend to test.
He posted โAtunโ just to troll me ๐
And the app worked flawlessly.
This feeling?
Inexplicable. Unreal. Motivating.
Exactly the kind of moment that makes all the struggles worth it.
๐ Looking Back: 15 Days of Learning
14 days ago, deployment felt far away.
I even planned for 14 daysโฆ but finished on Day 15.
Not bad for a first project โ and a journey full of:
Errors
Debugging
Rethinking
Googling
Trying again
And again
I documented the journey not just to share successes, but to show the struggles too.
If even one learner finds courage from this โ Iโll be happy.
๐ Next Stop: Authentication + User Dashboards
For my second project, Iโll build:
User authentication
Individual user dashboards
Better UI/UX
New logic
Cleaner, more scalable structure
This journey has only begun. Django is deep, powerful, and exciting.
๐ฌ Tell me your story!
What was your reaction when you first saw your project live?
Did you scream? Celebrate? Panic? Refresh your browser 20 times like me? ๐
Would love to hear it in the comments.
โค๏ธ Thank You
To everyone supporting, encouraging, and guiding me โ thank you.
Stay tuned โ Iโm soon sharing a full list of all commands I used, from start โ deployment. Might help someone out there.
Django #Render #WebDevelopment #Python #DeployYourApp #LearningInPublic #100DaysOfCode #BeginnerDev #FullStackJourney
repository available at : https://github.com/stackbento/Django-To-Do-List

Top comments (0)