Giter Site home page Giter Site logo

drf_todo's People

Contributors

ra0ul avatar

Watchers

 avatar

drf_todo's Issues

Todo 모델 만들기

  1. id : 데이터 고유 id(PK)
  2. title : 할일 제목
  3. is_complete : 완료 여부, 데이터 타입은 boolean이며 default false 설정
  4. created_at : 할일 생성 시간
  5. updated_at : 할일의 마지막 수정 시간
  6. completion_at : 할일 완료 시간
  7. user_id : 사용자 테이블과 FK로 관계형성

To do 작성 기능

로그인한 유저가 '나의 할일'을 작성해 post 요청 보내면
db에 할일 제목을 저장!

로그인 문제발생

super user만 로그인이 가능함...

DB에는 사용자 정보가 들어가는데
로그인 해보려고하면
일반 User로 가입한 계정은 요런 문구가 계속 나옴
{ "detail": "No active account found with the given credentials"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.