How to Export CSV Files From Django

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

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

  • @prettyprinted
    @prettyprinted  4 года назад

    Join my free course on the basics of using the database in Django: prettyprinted.com/djangodata

  • @goonbreathfpv
    @goonbreathfpv 9 дней назад

    Brilliant. Simple explanation, easily explained. Thank you Anthony

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

    thanks bro for creating this tutorial

  • @giddsec
    @giddsec 4 года назад +11

    Hello, Can you make a tutorial on how to upload/import a csv file into database models? Thanks!

  • @beatrizgomes8077
    @beatrizgomes8077 3 года назад

    Nice video, man. It's objective and solved my problem. Thank you so much!

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

    Works flawlessly!! I dont even get a window pop up. It just downloads automatically!

  • @thetruereality2
    @thetruereality2 2 года назад

    Thank you very much for this, helped a lot

  • @patrickknows2296
    @patrickknows2296 4 года назад +1

    Hi there. This video ia great but I just want to know what if I only want a certain row to be downloaded in csv say for example data from the month of June. Because this one downloads all data. What to add in the code? Thanks

  • @md.jahidhasan9719
    @md.jahidhasan9719 2 года назад

    How to do the same task in Django Rest Framework and from the frontend how to download it? Please someone help me.

  • @noakemp7403
    @noakemp7403 3 года назад

    how how did you setup the url to the function in views ? Is that in the url file ?

  • @ShaileshYadav-lj1pc
    @ShaileshYadav-lj1pc 4 года назад

    Hi Instead of model what if I want to use Filter o/p as input.I have tried it but no luck any help on this.

  • @SaiKiran-iq1is
    @SaiKiran-iq1is 4 года назад +2

    Thanks. Can you please do one for importing csv into model/table too

  • @1MoreNaturalDisaster
    @1MoreNaturalDisaster 4 года назад

    How can I do this with search results not the whole table? Thx

  • @jameskulu
    @jameskulu 4 года назад

    Please make Add to Cart tutorial in django
    Most underrated channel

  • @millerdane
    @millerdane 3 года назад

    Great video!! It it possible if you can show this if I amusing raw sql with a cursor instead of the ORM?

  • @darshansadanandagaikwad9425
    @darshansadanandagaikwad9425 4 года назад +2

    Hey, Great tutorial. Thank you so much, keep the good working going on. I have a small doubt. How can I specify the file path at which the CSV file has to be downloaded? Can I download it directly into my project?

  • @nehat786
    @nehat786 4 года назад +1

    For pdf what should i do and please make a video to convert html to pdf

  • @thetechtimes
    @thetechtimes 3 года назад

    Awesome, thanks .

  • @victor-andreiflorea9831
    @victor-andreiflorea9831 4 года назад

    Really nice tutorial, I have a question, how to include diacritics in my export?

  • @freddykruggerr
    @freddykruggerr 4 года назад

    thanks guy

  • @justins.2138
    @justins.2138 4 года назад

    Fantastic

  • @elvisalves2000
    @elvisalves2000 4 года назад +1

    Good video, however it would be better, if the report had made a query in the filtered database, bringing only a few items, not all.

    • @patrickknows2296
      @patrickknows2296 4 года назад

      We have the same concern bro, did you find out how this works?

    • @GMandz
      @GMandz 4 года назад

      @@patrickknows2296 I'm guessing your model will have some date_signedup field, so in your for...in loop you could filter with a lookup like Member.objects.all(date_signedup__gt="insert_date")
      But I'm a noob so not 100% certain it would work😊

  • @gilbertus5
    @gilbertus5 4 года назад

    thanks

  • @rangabharath4253
    @rangabharath4253 4 года назад

    awesome

  • @delllatitude299
    @delllatitude299 4 года назад

    First viewer