Thank you. Yes that's correct. Irrelevant if you are using tailwindcss or not, you need to install whitenoise to serve static files in production, add the static_root in the settings.py file and run the collectstatic command.
@@midhunskani I tried docker in some projects and in my experience it adds a lot of complexity and it’s time consuming to have it working. I don’t think for smaller projects or if you are working alone Docker is worth the time and effort. However it can be beneficial on bigger project and when you work in teams to make sure everyone works in the same environment. I might make a future video about it. Thanks for the suggestion.
I saw another video last week about setting up Django to use Tailwind. I thought it was long and complicated and it really put me off using Tailwind. Watching this now and I'm back on board with Tailwind. Just a few simple steps and you're in business. Thanks again.
Yea, it’s a bit complicated to set it up for production, I wish it was a bit more straightforward with a Django/python specific solution. I hope this will come in future. 🤞
This is the only time I like and appreciate RU-vid Suggestion because they suggest your video and Its Amazing content and you deserve 10 Million subscriber without any doubt. Some suggestions: 1. Please can you add videos about Admin dashboard ovveride using tailwind because the default is awfull. 2. Add videos about Redis and celery. 3. Django channels 4. django tenant
Thanks a lot! Great suggestions! 1. Yep, admin UI needs an overhaul 2. Yes, on the roadmap 3. Also this one 4. This is a new concept for me, I will look into it. Thanks for the suggestion.
Hi, if you can help, I noticed that I was not loading the css file depending on the state of the debug tag. After investigating in the settings.py file I have to add the following variable and it works perfectly: INTERNAL_IPS = ("127.0.0.1", "0.0.0.0") Best regards and thanks to Andreas.