Easily Import structured data into Django models

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

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

  • @nexus-stack
    @nexus-stack 5 месяцев назад

    Awesome video! Thank you so much!

  • @21D149SIVAGNANASANKARCS
    @21D149SIVAGNANASANKARCS 5 месяцев назад

    awesome video. Continue your efforts.

  • @yeboahdominic1896
    @yeboahdominic1896 5 месяцев назад

    Awesome video. Is there anyway to import it from a frontend instead of the admin.

    • @CloudWithDjango
      @CloudWithDjango  5 месяцев назад

      Thank you! There might be a way, but you may need to set up custom scripting for this.

  • @serychristianrenaud
    @serychristianrenaud 5 месяцев назад

    Thanks

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

    I'm a beginner, can you tell me , How we can import data if it is released foreignKey with another table? Suppose the name of table is student and columns are Enrolled_No, student_name and foreignKey with Semester table , like the regular way we just have selected , how we can do such thing via import ?

    • @madardualleh
      @madardualleh 4 месяца назад +2

      First, ensure that the foreign key data exists in the reference table (Semester table). After that, populate the `student` table, filling the foreign key column in the `student` table with the corresponding IDs from the `Semester` table.

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

      Thank you for your input!

  • @edmfestivals6066
    @edmfestivals6066 5 месяцев назад

    Is there a library that was updated earlier. This looks pretty old

    • @CloudWithDjango
      @CloudWithDjango  5 месяцев назад

      There might be a few. This one has been maintained for Django 5.0, so it's still relevant.

  • @banka990
    @banka990 5 месяцев назад

    It's probably easier to write your own script to populate the database, but it could be useful...

    • @CloudWithDjango
      @CloudWithDjango  5 месяцев назад

      True, but the main aim is to populate data from an external source

    • @banka990
      @banka990 5 месяцев назад

      ​@@CloudWithDjango I know. This is what I was talking about
      ruclips.net/video/4DZlvtTvSrY/видео.htmlsi=tg8nCP15Up1y2IRL

    • @CloudWithDjango
      @CloudWithDjango  5 месяцев назад

      I see. This is interesting! Then again, it would depend on what you'd prefer with automation via a package or via scripting