Django + React Notes App

Поделиться
HTML-код
  • Опубликовано: 16 июн 2024
  • Continuation of my last stream (React JS Crash Course) but now with a Django backend using the Django REST Framework.
    Previous stream: • React JS Crash Course
    Source Code: github.com/divanov11/Django-R...
    Django + React Quick Hello World App: • React + Django Integra...
    AVAILIABLE COURSES
    Django 2021 course on Udemy: www.udemy.com/course/python-d...
    React Crash Course on Udemy: www.udemy.com/course/react-cr...
    React + Django Ecommerce Website: www.udemy.com/course/django-w...
    Timestamps
    00:00 - Introduction
    4:15 - Setup Django Project
    20:13 - Database Models
    26:00 - Django Admin Panel
    29:48 - Adding Django REST Framework
    45:10 - Setting up React Project
    1:00:33 - Making API Calls
    1:04:33 - CORS Fix
    1:16:30 - Proxy URL
    1:31:11 - Styling
    1:46:00 - Update Note Functionality
    1:59:15 - Delete Note Functionality
    2:03:45 - Create Note Functionality
    2:22:50 - Debugging Delete note issue
    2:36:30 - Styling List Items
    2:44:33 - Adding React App to Django Project
    3:01:10 - Making our API RESTFUL
  • РазвлеченияРазвлечения

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

  • @ranjaxwolf9725
    @ranjaxwolf9725 2 года назад +9

    Thank you so much for the wonderful material you make freely available. I've been a Django backend dev for the last ~5 years working on a very large event management platform and recently resigned after covid related cash flow issues resulted in me (and the other devs) not getting paid for several months which has led me into a state of severe anxiety and imposter syndrome. I'm currently upskilling and practicing while looking for new work and your videos are doing well to reduce/calm my anxiety and fear.

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

      bro, absolutly the same case :D Even experience

  • @thrilleracaste400
    @thrilleracaste400 8 месяцев назад +1

    After all the research I did, I can now finally conclude that this video is one of the best video for Django + React. Thanks a lot Dennis!❤ Keep up the great work.😊

  • @DenzelHooke
    @DenzelHooke 2 года назад +16

    Great tutorial Dennis! Just started learning React and I was worried that Django and React would be a headache to setup but it was surprising to see how easy it was.

  • @StickMan1316
    @StickMan1316 Год назад +3

    i really appreciate you for uploading this django + React note app video. I'm new to Django and I just started learning Python. Now I'm capable of creating a restful API with python. This is a great video to use the learning technique "copy-work". You have got yourself a new subscriber.

  • @avisheksharma8276
    @avisheksharma8276 Год назад +3

    I literally learned how to use JSX format and that's all I needed to just use React. Thank you for this awesome project.

  • @onemanops
    @onemanops Год назад +3

    Thank you so much, this was exactly what I was looking for. You remind me of some good programmers I worked with in the 90s. Subscribed.

  • @mannybarnes2053
    @mannybarnes2053 2 года назад +40

    This was so enjoyable, even with all the errors and headscratchers lol. Thank you Dennis! You are a true inspiration.

    • @DennisIvy
      @DennisIvy  2 года назад +7

      Thank you Manny. The bugs are a pain but I guess that’s the risk of live streaming :p

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

      @@DennisIvy Agree bro 😁 Thanks for providing my first project 😄 although I am only at the django end part now 😅 I will complete the video soon and have a complete web site 😇 Thanks Dennis bro ❤‍🔥

    • @sprutch11
      @sprutch11 2 года назад +2

      @@DennisIvy I actually think it makes the learning experience much better. In slick, edited tutorials, I tend to just follow along with whatever the instructor is doing, not really participating in the programming steps. At the same time, the instructor tends to have everything prepared, going too fast through tricky segments. In live streams like this, I'm much more actively participating in the project, looking to fix the same errors you're encountering, and stopping to spot my own.
      I actively look for livestream tutorials like this, and yours have been the best I've found so far.

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

      @@sprutch11 @Dennis Ivy is the best in my experience with Django tutorials.

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

      @@DennisIvy We feel a little less bad, when we see, that we are not alone in this :)
      And we see, how you are solving the errors. I miss this in many tutorials.
      Thanks for your effort!

  • @jimmyopot1972
    @jimmyopot1972 2 года назад +8

    Hey sir, I highly appreciate this video. Integrating Django and React is a highly sought out skill...

  • @michaeldimattia9015
    @michaeldimattia9015 2 года назад +3

    Amazing tutorial! Helped me understand both React and Django much better. For those looking to practice skills, a FUN MINI CHALLENGE: put a switch in the Header that switches between light mode and dark mode ;-) Happy coding!

  • @ShaneHajan
    @ShaneHajan 6 месяцев назад +7

    Thanks. A few adjusments needed if you want to follow this tutorial in 2023. I had to use window.location.assign('/'); instead of history.push('/')

    • @ShaneHajan
      @ShaneHajan 6 месяцев назад +2

      Also, took about 3 hours to realize that fetch(`/api/notes/${id} needs to be WITHOUT the last slash "/" to work, so dont use fetch(`/api/notes/${id}/ :D

    • @harshwarghade4383
      @harshwarghade4383 3 месяца назад +1

      Thanks a lot brother 🙂

  • @naturehome2087
    @naturehome2087 2 года назад +2

    What a clear and amazing content. Much love and Thank you!

  • @LNMLucasMasiero
    @LNMLucasMasiero 2 года назад +1

    Thank you sosososo much for this tutorials. You teach so well and because of you, i've started to get more into programming web development and network stuff with restapi. You are an inspiration to me.
    The process in the backend is i think always
    # DATABASE
    DB [sql this case] => models [can be used django modelizer or pydantic or dataclasses]
    # RESTAPI
    • Routes [url patterns]
    • Request Type [get post put del] + body if its neccesary [could be mixed with pydantic models or dataclasses, like in FastAPI]
    • Functionality with the request [if its wanted]
    • Response [application/json or text/html]
    Up to now this are 2 separated parts and then its when it comes Serializers or Schemas, that are functions than can pass an Object with attributes [this object from the models above] to be passed to a Dictionary, so its a native pyhon datatype that in this case, instead of dumping it to json, DRF does it automatically with method Response
    So Bridge would be
    DATABASE => SERIALIZERS / SCHEMAS => RESTAPI [Django Rest or Fast API]

  • @GaneshChandra-qh2rc
    @GaneshChandra-qh2rc 16 дней назад

    after looking for many many courses i found this as the best one to follow , thanks for the best course

  • @midouwebdev2224
    @midouwebdev2224 2 года назад +3

    As usual, an amazing tutorial
    Thank you sir !

  • @jakubstrzelecki7004
    @jakubstrzelecki7004 10 месяцев назад +6

    for someone who has problems with BrowserRouter:
    1. You need to wrap your routes inside Routes component.
    2. You need to use element instead of component.
    3. You need to add a component as an element, not a function.
    Example:

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

    Денис, спасибо за уроки!)

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

    Loved it,
    Didnt know a thing about django and react just followed along and got to know alot
    thanks dennis

  • @muhamedsosic1229
    @muhamedsosic1229 2 года назад +36

    Some updates, I had problem at 1:20:30, in react-router-dom version 6 there are a few difference now:
    * A must be used as the child of element
    If you get this error Matched leaf route at location "/" does not have an element. This means it will render an with a null value by default resulting in an "empty" page
    * In V6, you can't use the component prop anymore. It was replaced in favor of element :
    it should be like this:

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

      How did you do it to pass the params to the NotePage.js please?

    • @GameriziMm
      @GameriziMm 2 года назад +9

      @@ayeshariantegally342 If you don't have the fix yet, you need to modify NotePage to use "useParams()" to get the parameters in v6.
      import React from 'react'
      import { useParams } from "react-router-dom";
      const NotePage = () => {
      let params = useParams();
      return (
      Single Note {params.id}
      )
      }
      The route itself should look like this:
      which should be wrapped in of course.

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

      @@GameriziMm got it thanks though :) ... for me the end part isnt worrking rightly... doesnt update on delete and update except on refresh

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

      You're a hero!

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

      Thank you so much, buddy!

  • @immeatom
    @immeatom 2 года назад +1

    Thank you for making this. This is super helpful.

  • @unizfrhn2803
    @unizfrhn2803 2 года назад +2

    Yo, absolutely amazing live tutorial !!! Thanks for this so much ..... also the wallpaper lol

  • @visoflo4208
    @visoflo4208 2 года назад +1

    This was an amazing tutorial. So chill...

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

    I'm a complete beginner. This makes so much sense!!

  • @r125l6
    @r125l6 2 года назад +1

    Thanks a lot... Your videos are well structured and sophisticated

  • @ankit30343
    @ankit30343 2 года назад +2

    very great tutorial Thank you Dennis It saved me a lot of hours.

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

    Thank you Dennis for this amazing tutorial.

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

    Cool Thumbnails man, everything's on point 👌👌 I think I've found my inspiration now lol

  • @yusufgoren1830
    @yusufgoren1830 Год назад +10

    If someone has problem with 1:26:03 with match, in NotePage use import { useParams } from "react-router-dom"; than const { id } = useParams(); u should be ok then.

    • @SUPERNOVA-vn8dh
      @SUPERNOVA-vn8dh 9 месяцев назад

      savior!

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

      import React from 'react'
      import { useParams } from 'react-router-dom';
      const NotePage = () => {
      let params = useParams();
      return (
      Single Note {params.id}
      )
      }

  • @nquanta1548
    @nquanta1548 2 года назад +1

    From scratch that's awesome thanks for this video , nice content :)

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

    Ace work, man! Thank you very much.

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

    Awesome, awesome video!! Thanks Dennis!

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

    i spend my 3 days to findout how to connect react to django
    finally I have come to an end Thx to u

  • @prateekmohanty8315
    @prateekmohanty8315 2 года назад +1

    Amazing content Dennis . Thank you so much

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

    Best video on this specific topic 🥰

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

    Thank you very much for this great tutorial👏

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

    Can't express my gratitude for this tutorial, thank you!
    Also if you could make a tutorial or send a helpful link about how to filter objects when fetching them in react as we would when in django (notes.objects.filter(id=...))
    Again, thank you Dennis

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

    For updated nodejs , passing params with match might not work .
    This is an alternate option for that.
    import { useParams } from "react-router-dom";
    const { id } = useParams();

  • @nischalshakya2015
    @nischalshakya2015 2 года назад +2

    2:34:55 when using defaultValue, the state is not updating when deleting the only single character note
    Also it doesn't update the state while trying to delete the whole note (greater than 1 character) by selecting whole note and then pressing delete.
    It has something to do with controlled(value) vs uncontrolled(defaultValue) components.

  • @MuhammadAyaz-gp7xd
    @MuhammadAyaz-gp7xd 5 месяцев назад

    Live Long Sir. Thank you so much.

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

    It’s really a wonderful tutorial.
    thanks you sir🔥

  • @kaikai5356
    @kaikai5356 2 года назад +3

    You make a lot less bugs than i usually do.Don't sell yourself short on anything.I've been watching your django tutorials recently

  • @multiversityx
    @multiversityx 2 года назад +1

    Impressive how he was able to concentrate for 3+ hours

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

    @Dennis Ivy If you select all the text and at once and remove it, the state still contains the note body even though we have removed it. So it does not delete that note.

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

    Great Job Dennis

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

    Thanks for sharing this video, helps a lot!!! Hope you will do more Django+React projects

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

    Thank you Dennis.

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

    Thank you. I love it

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

    Another level dennis

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

    Simply Thank You

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

    wonderful video,thanks,solved many problems for me

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

    love that built from scratch

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

    Well done!

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

    ライブ配信ご苦労様です!頑張ってくださいませ!

  • @Pepe-yj3ty
    @Pepe-yj3ty Год назад

    Bro you are a legendary

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

    nice video wish was here to watch the stream

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

    If you want create project with env inside the same folder, use dot after project name.

  • @anwarsanusi475
    @anwarsanusi475 2 года назад +1

    Thank you so much

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

    greate video... very interactive and helpful

  • @PP-tc1zp
    @PP-tc1zp Год назад

    Thank you for course.
    If you want I can show you how to fix little bug to improve 'updateNote'

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

    i wish this vid was longer honestly

  • @sayadahmedshaurov8639
    @sayadahmedshaurov8639 2 года назад +1

    I always enjoy watching your videos. You make many things sound easier to understand than others. In this stream, although you did not need to cover everything about react, or take much time to cover each related topic, you could have spent more time explaining react hooks. (You did great actually. But you could have shown more examples while explaining hooks.)

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

    Thanks the tutorial is very helpful ........

  • @nikolae05
    @nikolae05 2 года назад +1

    I'm new to django and I'm willing to learn more, thanks for sharing this work. Also what vs code theme and font-family are you using?

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

      `Github Dark Theme` is using in the VSC.

  • @theworldstudy2199
    @theworldstudy2199 2 года назад +3

    If anybody is facing a mistake at 1:28:48 then get rid of the last forward slash in `/api/notes/${noteID}/`. Should be like that: `/api/notes/${noteID}`.

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

    Thanks for video 👍👍👍

  • @Ali-xd1zl
    @Ali-xd1zl Год назад

    Love you man💖.

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

    Thank you .

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

    Wow, that's great. Tutorial Idea: Develop a blog using Next Js and Django Rest Framework with...
    1. Authentication and Authorization
    2. Commenting Feature
    3. Like/Reaction

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

    125-70k man this is great video.

  • @codebytaha
    @codebytaha 2 года назад +1

    Thank you for this, i learned a lot from your channel, your content is really great; I have a question, i tried to use my Django API (in Heroku) and my React App(in Netlify), everything works (all CRUD actions) so i added an image field in my models and they just don't show up (works fine in developement), is there something needed so that image files could be read (like some Nginx stuff maybe)?thank you

    • @yazhouliu1366
      @yazhouliu1366 2 года назад +1

      heroku does not support image storage,you might need a third party to store user uploaded images

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

      @@yazhouliu1366 thank you and yes i got that point.but it can keep them for the first few hours . My goal Is just the fact of displaying images just for the sake of the experiment even for a minute

  • @mrcors3947
    @mrcors3947 2 года назад +8

    In react router V6 the "match" prop is no longer passed to the element. To get the id 1:26:00 you should use useParams hook now.

    • @BattlefieldTV-tp1qy
      @BattlefieldTV-tp1qy 2 года назад

      how i can use it ?

    • @GameriziMm
      @GameriziMm 2 года назад +7

      @@BattlefieldTV-tp1qy Hey, if you're still having this issue the fix looks like this:
      import React from 'react'
      import { useParams } from "react-router-dom";
      const NotePage = () => {
      let params = useParams();
      return (
      Single Note {params.id}
      )
      }
      You just remove the {match} from the brackets, and replace it with useParams() which gets any relevant parameters for you.

    • @BattlefieldTV-tp1qy
      @BattlefieldTV-tp1qy 2 года назад

      @@GameriziMm thanks

    • @Shanilka.Ariyarathne
      @Shanilka.Ariyarathne Год назад

      @@GameriziMm thanks

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

      @@GameriziMm
      import React from 'react'
      import { useParams } from "react-router-dom";
      const NotePage = () => {
      let {id}= useParams();
      return (
      Single Note {id}
      )
      }
      This also works

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

    Thank you

  • @yogeshshrestha1745
    @yogeshshrestha1745 11 месяцев назад +3

    solution for error 1:26:00
    import React, { useState, useEffect } from "react";
    import {useParams} from 'react-router-dom'
    const NotePage = () => {
    const params = useParams();
    let [note, setNote] = useState(null);
    useEffect(() => {
    getNote();
    });
    let getNote = async () => {
    try {
    let response = await fetch(`/api/notes/${params.id}`);
    let data = await response.json();
    console.log(data);
    setNote(data);
    } catch (error) {
    console.error("Error retrieving note:", error);
    }
    };
    return (

    {note?.body}

    );
    };
    export default NotePage;

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

      Thank you!!!

  • @Shanilka.Ariyarathne
    @Shanilka.Ariyarathne Год назад

    Amazing

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

    lol thanks, I found so many shitty solutions on web, this is clear and easy, I hope it will work, I will try it later.

  • @believerbethechange4530
    @believerbethechange4530 2 года назад +3

    1:20 We can't use the component prop anymore. It was replaced in favor of element. So Please replace the line 16 in the video to

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

      I:20:55

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

      Unfortunately RUclips videos cannot be edited once posted. You can always revert back to react-router-5 or simply update and update to account for the changes

  • @nikhilbhardwaj6055
    @nikhilbhardwaj6055 2 года назад +58

    In V6

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

      thanks brother

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

      And you have to wrap your with that you also need to import from react-router-dom

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

      and a bunch of other things. I recommend keeping the the version of react-router-dom he uses in the video.

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

      @@scootergirl3662 which version did he use ?

  • @ai.201
    @ai.201 2 года назад

    Thanks.

  • @pykidie3661
    @pykidie3661 2 года назад +1

    hello i have been following your videos and they are really helpful
    so i was wondering how can i build an api from a abstrct custom user

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

    Awesome

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

    Curious job marketability if doing django react would be more ideal vs just using django and templates

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

    Love your content....is there any way you can do multi tenant in django

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

    Thanks

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

    I just finished this tutorial series (React crash course & Django back-end integration) and I think it's just perfect for beginners. Is there any resource or tutorial I could use to deploy this whole full-stack app ?

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

      I'm working on a video on how I deployed my django app. I hope to have it up in the future, I'll let you know!

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

    If anyone downgraded to ""react": "^17.0.2", and have encountered dependency conflict when running, (npm install) then do this :
    1: Change your src/index.js file :
    import React from 'react';
    import ReactDOM from 'react-dom';
    import App from './App';
    const root = document.getElementById('root');
    ReactDOM.render(

    ,
    root
    );
    1) Delete node_modules & package-lock-json
    2) npm cache clean --force
    3) npm install --legacy-peer-deps
    4) npm install --force
    This should fix it.
    Also, towards the end when crating REST API, if you get forbidden error (403) or your CRUD functionalities don't work :
    1) log into your admin page and log out.
    *** I finished this project with using the same dependencies as he used for this tutorial ***

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

      This comment has to be pinned. Have been facing the 403 error for many hours. Still wondering why with logged in admin CRUD don't function well.

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

      @@mohamedrayenkadhi5134 I am glad you found it helpful 😊.

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

    You can use viewsets from rest framework

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

      Yep, that also works

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

    Thanks Dennis this was awesome what's theme are you using on Vscode

    • @DennisIvy
      @DennisIvy  2 года назад +1

      Atom one dark pro

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

      @@DennisIvy Thank you very much Dennis

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

    Please make a tutorial using Django Wizard Views and specially styling wizard forms. I have succesfully implemented wizardview but styling is the part i am stuck with.

  • @jameshunt8828
    @jameshunt8828 9 месяцев назад

    One of the good part is debugging delete

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

    [edit ] explained at 2:16:00 :)
    1:55:00 I'm a bit confused about why Django doesn't need CSRF token.
    I've used plain django+JS in previous project and react only tested few times without backend
    I always forgot about CSRF token in django and it had me struggle

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

    Thank you bro ❤️ please create a new project with react js and django for example blog project 🙏🙏

  • @Sharaf-eg
    @Sharaf-eg Год назад

    Hi Dennis Thanks for this great channel, I just have an issue when adding react to django (create-update-delete) does not work it's 403 Forbidden however it's the api is working standalone

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

    I had trouble accessing id around 1:25:25. I fixed it by modifying my NotePage.js to:
    import React from "react"
    import { useParams } from "react-router-dom";
    const NotePage = () => {
    const NoteParams = useParams()
    return (
    Single Note {NoteParams.id}
    )
    }
    export default NotePage

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

    What is your wallpaper it looks really cool

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

    Hye Dennis , can you make a new series of react and dj.. there are no new videos on this combo here on RUclips..🙏❤️

  • @snailprogrammer7483
    @snailprogrammer7483 Год назад +3

    Getting the following error when it comes to displaying {noteId} at 1:25:55
    Cannot read properties of undefined (reading 'params')
    TypeError: Cannot read properties of undefined (reading 'params')

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

    This was awesome.Can you make a series of instagram clone with backend django😊

  • @juanda4269
    @juanda4269 9 месяцев назад

    1:26:00 solution
    import React from 'react'
    import { useParams } from 'react-router-dom'
    const NotePage = () => {
    const {id} = useParams()
    return (

    Single Note {id}

    )
    }
    export default NotePage

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

    Having a loading issue. For some reason, once I added the links to each individual note (1:30:58ish) and I click on the link. The address bar updates, but the web page wont display the note content until I reload the page. Everything is coded how it is showing in the video. Im confused on why its not live updating.

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

    Sir I have a doubt like how to get the value from combination of three database tables in the same models. Py and get the value depending on the user value

  • @mrendus
    @mrendus 2 года назад +1

    Why you don't using PEP 8 (function names)? Why you don't used just one viewset for notes functionality on backend?

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

      I don’t like the PEP8 structure for function names, I prefer camel casing.