Django is the most popular Python-based web framework for a while now. Django is powerful, robust, full of capabilities and surrounded by a supportive community.
Static files on Django should be served by
nginx directly rather than our Django app. So you need to add a few lines to your
nginx configuration, to tell where your static files are. I have tried to explain things neatly in this video. feel free to as any doubts.
Let me know the suggestions, thoughts & the doubts in the comments. Subscribe to the channel & Share this with your friends & colleagues
Link to sample application repo with static files already setup: https://github.com/ShobiExplains/AwsDemo/releases/tag/v0.0.2
Nginx Configuration for reference: https://github.com/ShobiExplains/AwsDemo/blob/master/django.conf