PythonBulawayo/ChitChat

Improve how posts look in the admin

オープン

#36 opened on 2024/02/09

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (24 件のフォーク)auto 404
backendgood first issue

Repository metrics

Stars
 (25 個のスター)
PR merge metrics
 (PR metrics pending)

説明

The way posts are rendered in the Django Admin does not provide any helpful information about the post or its author. Change how the Admin displays the post information. We can display the post author's username when the post was created and a few characters of the post body. This is a straightforward change that can be made by adding a __str__() method to the Post Model.

This is what we currently have: image

We want to have something like this:

image

コントリビューターガイド