Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot resolve keyword 'post' into field. Choices are: author, body, created_on, id, posts,

Open
#61 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the GET request at http://127.0.0.1:8000/blog/5/ and inspect the blog view and model query that produces the FieldError. Trace the requested 'post' field against the listed available fields, then verify that the page loads without the exception.

Written by the indexing model from the issue text.

Description

Request Method: GET
http://127.0.0.1:8000/blog/5/
2.2.1
FieldError
Cannot resolve keyword 'post' into field. Choices are: author, body, created_on, id, posts, posts_id
C:\Users\UPosia\Anaconda3\envs\conjango\lib\site-packages\django\db\models\sql\query.py in names_to_path, line 1420
C:\Users\UPosia\Anaconda3\envs\conjango\python.exe
3.7.3
['F:\My_Django\personal_portfolio\src', 'C:\Users\UPosia\Anaconda3\envs\conjango\python37.zip', 'C:\Users\UPosia\Anaconda3\envs\conjango\DLLs', 'C:\Users\UPosia\Anaconda3\envs\conjango\lib', 'C:\Users\UPosia\Anaconda3\envs\conjango', 'C:\Users\UPosia\Anaconda3\envs\conjango\lib\site-packages']
Thu, 8 Aug 2019 19:03:40 +0000
Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

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.

More from realpython/materials

All issues in realpython/materials

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.