0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Djangoで日記アプリを作ろう

Last updated at Posted at 2023-02-19

所々エラーが出たので書き残す

・【第1回】Djangoで日記アプリを作ろう~環境構築編~
https://rightcode.co.jp/blog/become-engineer/django-diary-app-make-built-environment
→問題なく完了

・【第2回】Djangoで日記アプリを作ろう~トップ画面編~
https://rightcode.co.jp/blog/become-engineer/django-diary-app-make-top-screen
→問題なく完了

・【第3回】Djangoで日記アプリを作ろう~投稿フォーム編~
https://rightcode.co.jp/blog/become-engineer/django-diary-app-make-post-form
→【Viewの実装】
 
 image.png
 
image.png

【マイグレーションの実施】
→エラーが多発
index.htmlにおいて 
日記ページに遷移できるように追加
image.png

わかったこと
vies.pyで遷移先と見え方決定→html作成→urls.pyにURL追加

・【第4回】Djangoで日記アプリを作ろう ~一覧画面・詳細画面編~
https://rightcode.co.jp/blog/become-engineer/django-diary-app-make-list-detail-screen
→viewsに追加するimport
image.png

・【第5回】Djangoで日記アプリを作ろう ~編集画面・削除画面編~
https://rightcode.co.jp/blog/become-engineer/django-diary-app-make-edit-delete-screen
→【Updateview】
 timezoneが波線→importがわからず。。。
 from datetime import datetaime
timezone→datetimeに変更

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?