@betterstack

Quick correction 2:18 -  For debug in settings.py please make sure the environment variable is configured as such: DEBUG = (os.environ.get('DEBUG') == "True")

Otherwise it casts any non empty string to True, potentially causing security issues. An alternative is to use the django-environ package which has a guide on this: https://django-environ.readthedocs.io/en/latest/quickstart.html

@jimshadrick479

You packed a lot of good information into this video. The explanations along the way were very helpful. 
Just subscribed to the channel.

@innocentinnox

This is the best explainer video, stright to the point

@vigneshs6232

Needed and clear cut information....Very informative...Do more videos...

@michael-jones

yango took me out

@kingcogles

You are not mentioning that you are already passing the "static" directory as a bind mount into the application container, which leads to the unnecessary command for collecting the static files inside the container. Also, the bind mount approach is okay for development or a personal project (let's say in your homelab) as long as you don't use the Immutable Image approach, which is recommended in the production stage.

@averageamerican6727

Better stack indeed. Thanks! πŸ™πŸ‘βœŒοΈ

@DhavalAhir10

You should always used named volume for your static files.
You have used "./static" bind mount volume currently which is confusing.

It may be possible we already have "./static" folder inside our Django project as a STATICFILES_DIRS additional paths.

So always use named volume.

@sirvladVI

bro I love this. thank you!!! a greeting from Argentina

@sto3359

No one calls it β€œY-A-N-G-O”. It’s β€œJ-A-N-G-O” the β€œD” is silent. πŸ˜‚

N/A

When you mount static to /app/staticfiles it overrides the permissions and gives a permission error. If I make chmod 777 static in the base directory than it works but without the CSS loads but not Django-Admin CSS

@sergey5561

How can I go about horizontally scaling the web app on multiple servers given that the database container would also be duplicated and out-of-sync?

@prezlamen

How to transfer data from csv into django model in production?

@crabcores_carnivores

I'm looking forward to trying this out next week when I start this process! I've been trying to find videos that really describe the whole process and they seem to always leave something out. Thanks for creating this video!

Do you know if this will work the same (more or less) with GeoDjango given that I add the additional requirements for it in the docker file?

Thanks!

@onujaar

This was useful πŸ‘

@ce.joseph

Very informative video

@fasturas

Awesome thanks πŸŽ‰

@steogen

Thanks. It would be great if you could also show how to deploy this app via HTTPS instead of HTTP. The resources I have found on this are a bit confusing.

@cool_rick

Great!πŸŽ‰

@systemtz-t7k

500 error on github code.. why? on aws deployment