netology-code / netology-code/dj-homeworks

Need to update template

Open
#34 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
19
Forks
516
Avg merge
2h 53m
Merged PRs (30d)
8

Description

https://github.com/netology-code/dj-homeworks/blob/0420d5da818fb2c5eaa288ba7e0dae0cb8b3ec10/databases_2/orm_query/templates/articles/news.html#L16
There is no need to display full text (it's the only field that may be defered).
And there are no scopes to display in template, but author/genre should be added instead.

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

Open databases_2/orm_query/templates/articles/news.html at line 16 and inspect the current fields rendered there. Update the template so full text and scopes are not displayed, while author and genre are shown instead. Verify that the resulting news page contains the requested fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.