realpython / realpython/materials

Cannot update diary on the front end

Open
#575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

Description

ℹ️ https://realpython.com/django-diary-project-python/

Describe the bug
On step5, a error occured while I tried to update a diary on the front end.

To Reproduce

  1. Display a diary.
http://127.0.0.1:8000/entry/1
  1. Then move to update form
http://127.0.0.1:8000/entry/1/update
  1. Edit content and click "save".

  2. Then I got this error.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-09-02 at 2 04 33 PM

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Real Python Django diary tutorial and reproduce the problem at /entry/1, then submit the update form at /entry/1/update. Use the screenshot to identify the reported error; the issue is resolved when edited diary content saves successfully from the front end.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.