Bringing your work into production is thrillingâuntil something breaks and you donât know why. Thatâs exactly what I faced while deploying my Django-based portfolio.
Despite making all the right changes in my HTML and CSS, nothing was updating on the live site. Turns out, the answer was hidden in a single command:
bash
python manage.py collectstatic --noinput
đŻ What I Built
A full portfolio site running on PythonAnywhere, styled with custom CSS (nude color palette for minimalist elegance)
Built with Django and Django REST Framework, showing off real API endpoints and dynamic content
Responsive design using Flexbox, Grid, and media queries
Deployment-ready, including secure admin access and custom favicon
đž Key Win: Debugging in Production
The image in my header was overlapping the page title on mobile. After reviewing my layout and adding all the right media queries⊠the issue persisted đ© But the problem wasnât layoutâit was the old static files being served by Django. Once I re-ran collectstatic inside my virtual environment, everything fell into place.
đš See It for Yourself
đ nicolasandrescl.pythonanywhere.com Feel free to check it out and explore my featured projects. Feedback is always welcome!
Top comments (0)