Deploy static files to Cloudinary from a Django app

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 30

  • @CloudWithDjango
    @CloudWithDjango  ปีที่แล้ว +1

    Automate static file uploads to Cloudinary:
    python manage.py collectstatic --upload-unhashed-files
    Reference:
    pypi.org/project/django-cloudinary-storage/#:~:text=Django%20Cloudinary%20Storage%20is%20a,both%20media%20and%20static%20files.

  • @godzilla870
    @godzilla870 ปีที่แล้ว

    Great video, some of these explanations were by far the most comprehensive I have seen and aside from the things you learn from taking a random journey in django I kind of wish this had been my first tutorial! Lol great job

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi J,
      Thank you for your feedback. It is appreciated! :)
      I'm very glad to hear that you enjoyed the video.
      Haha, I get what you mean! It's sometimes a tough road.
      All the best,
      Arno

  • @codemenath
    @codemenath ปีที่แล้ว

    amazing! easy to understand

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Thank you so much! I'm glad that you enjoyed the video!

  • @TechForest50
    @TechForest50 ปีที่แล้ว +2

    I took your video on hosting django project on render, I run a problem with static files and psycopg2, I need help on render static files

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +4

      Hi,
      Thank you for watching my video.
      You need to configure static files separately as I mentioned at the end of the video. In terms of psycopg2 you need to use psycopg2-binary instead.

  • @ahmadumar9387
    @ahmadumar9387 ปีที่แล้ว

    great content for any backend developer :D

  • @KrishnaManohar8021
    @KrishnaManohar8021 ปีที่แล้ว +1

    First view stamp 🤘🤞

  • @dillymccaffrey
    @dillymccaffrey ปีที่แล้ว

    Thank you so much :)

  • @Coden69
    @Coden69 ปีที่แล้ว

    good as always

  • @alimansimov1929
    @alimansimov1929 3 หลายเดือนก่อน

    Can we use this for images? Not for user uploaded images, for our image assets?

    • @CloudWithDjango
      @CloudWithDjango  3 หลายเดือนก่อน

      Hi. Yes, I believe you can do that as well, yes!

  • @tboykelvin1865
    @tboykelvin1865 9 หลายเดือนก่อน

    Please how do i delete the files hosted on cloudinary when i delete the image from my website

    • @CloudWithDjango
      @CloudWithDjango  9 หลายเดือนก่อน

      Hi,
      I'd suggest that you do some external research on cloudinary with Django and experiment with trial and error

  • @alimansimov1929
    @alimansimov1929 หลายเดือนก่อน

    I got error: AttributeError "StaticFilesStorage" object has no attribute "stored_name", does anyone know, why?

    • @CloudWithDjango
      @CloudWithDjango  หลายเดือนก่อน

      Hi. Please kindly refer to the django backend storage docs. I believe it may've been updated.

  • @inteliconn995
    @inteliconn995 ปีที่แล้ว

    Thanks!

  • @sidds09
    @sidds09 ปีที่แล้ว +1

    are you a django dev or a freelancer who work with django? what all techs do you work on day to day with django? how do you look at django in real world/market for jobs or freelancing.

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว +1

      Hi,
      Thank you for reaching out and for your questions.
      These are a lot of questions and would take a crazy long message to answer. I'm thinking of holding Q/A live streams on Django, AWS, and on general things. Perhaps, I can delve deeper into certain things there.

    • @sidds09
      @sidds09 ปีที่แล้ว

      @@CloudWithDjango great.

  • @alimansimov1929
    @alimansimov1929 3 หลายเดือนก่อน

    vs code virtualenv 8:33,,, 17:08 static files configurations,,,

  • @eliasoliveira292
    @eliasoliveira292 ปีที่แล้ว

    Getting this after setting DEBUG = False
    "GET / HTTP/1.1" 500 145

    • @CloudWithDjango
      @CloudWithDjango  ปีที่แล้ว

      Hi,
      If you set DEBUG = TRUE you can evaluate the error in your application. Once you've solved it you can quickly revert back to DEBUG = FALSE