My picture diary

Tables (3)

Comment (Untitled3)

  • pk — int — Primary key — NOT NULL
  • 글 (post) — PostModel — Foreign key → Post.작성자 — NOT NULL
  • 내용 (content) — CharField

Post (Untitled)

  • pk — int — Primary key — NOT NULL
  • 작성자 (writer) — UserModel — Foreign key → User.pk — NOT NULL
  • 제목 (title) — Char
  • 작성 날짜 (date) — Date
  • 내용 (content) — Text
  • 기분 (mood) — int
  • 그림 (painting) — Image

User (Untitled2)

  • pk — int — Primary key — NOT NULL
  • 사용자 이름 (username) — Char
  • 이메일 (email) — Email
  • 비밀번호 (password) — password
  • 스태프 여부 (is_staff) — Bool
  • 활동여부 (is_active) — Bool
  • 마지막 로그인 (last_login) — DateTime
  • 가입 날짜 (date_joined) — DateTime