4 ways to serve static files in Django

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 33

  • @luisloyola3591
    @luisloyola3591 Год назад +4

    wtf!! this channel is pure gold! thx for all

  • @underfakelights
    @underfakelights Год назад +2

    Thank you for this, really helped me figure out why static files were not available after deployment. Best of luck with the channel, subscribed! :)

  • @pv4tpuntosdeventa407
    @pv4tpuntosdeventa407 4 месяца назад

    I lost 3 days testing and modifiying settings. Here was the right configuration of whitenoise!! Thanks a lot!!

    • @davidrivera2546
      @davidrivera2546 2 месяца назад +1

      you are talking about the deployment in render, righT? because i am fighting because my static resources are not showing.

  • @elbersouza1490
    @elbersouza1490 4 месяца назад

    Thank you very very much!!! I was having a lot of problems in production and this video saved me!

  • @StudiofrogPl
    @StudiofrogPl 11 месяцев назад +1

    excellent explanation, the best i found on youtube. You are great teacher, thanks.

  • @kbnmaster123
    @kbnmaster123 10 месяцев назад +2

    love the explanations, hate the keyboard sound

    • @drustan6890
      @drustan6890 7 месяцев назад

      Yea that keyboard sound is annoying

  • @bharathkumargundala6466
    @bharathkumargundala6466 2 месяца назад

    Thank you a thousand times. You saved me a lot of debug time.. I was struggling to debug and it turns out that gunicorn was not serving my static files by default

  • @elbauldesantiago5842
    @elbauldesantiago5842 10 месяцев назад

    Thank you for your content, I am from Venezuela and I am starting as a backend developer in django

  • @ChopLancer
    @ChopLancer Месяц назад

    I've used nginx, it's pretty convenient to do in containers and automatically have Django collect static into a volume shared with nginx, then reboot the nginx container and voila🎉

  • @superbin6021
    @superbin6021 10 месяцев назад

    shit, I have spent more than one month just to figure out 1 way to handle static file in django.
    Thank you so much

  • @toDianeDev
    @toDianeDev 2 месяца назад

    Thank you for helping me remember how to configure collectstatic.

  • @SantiYounger
    @SantiYounger 3 месяца назад

    great video man, thanks

  • @tzzar
    @tzzar Месяц назад

    Thank you

  • @brisalastiri3819
    @brisalastiri3819 Год назад +1

    very helpful video!

  • @adeyemiowolabi6062
    @adeyemiowolabi6062 8 месяцев назад

    I like your voice so I HIT the BELL!

  • @0730pleomax
    @0730pleomax Год назад +1

    Great content! Keep going :D

  • @robertzu43
    @robertzu43 Год назад

    great video! really helpfull, had to change some things for my project, but keep it up.

  • @Centerloglk
    @Centerloglk 7 месяцев назад

    You're so good!

  • @marcosmadeira7895
    @marcosmadeira7895 10 месяцев назад

    Perfect ❤

  • @caglargulucan
    @caglargulucan 11 месяцев назад

    What should be done if the user does not detect any changes in a static file? For example, I make a change in main.js and the user does not see it. (AWS s3 bucket)

  • @aashayamballi
    @aashayamballi Год назад

    Thanks!

  • @FahadAhmed-ln7so
    @FahadAhmed-ln7so Год назад

    what am I suppoed to add in Static url
    where can I find the AWS S3 CUSTOM Domain and s3 static dir

  • @user-qj9mj2kk2d
    @user-qj9mj2kk2d 11 месяцев назад

    Can i use whitenoice for media_url??? I have problem when i uploading image with imageField , image doesn't serve

  • @Morimove
    @Morimove Год назад

    which is better
    nginx or whitenoise for serving static files?🤔

  • @pravachanpatra4012
    @pravachanpatra4012 Год назад

    should u run colelctic static before deployment will that work??

  • @clearthinking5441
    @clearthinking5441 Год назад

    Serving static files through NGINX, are they cached by default?

  • @user-vb1mh8lj3n
    @user-vb1mh8lj3n Год назад

    i love teacher :):):):):)

  • @soportesegumedik
    @soportesegumedik 8 месяцев назад

    Teamooo

  • @arisntoulla108
    @arisntoulla108 2 месяца назад

    Thank you