PythonBulawayo/ChitChat

Improve how posts look in the admin

开放

#36 创建于 2024年2月9日

 (5 条评论) (0 个反应) (0 位负责人)TypeScript (24 个派生)auto 404
backendgood first issue

仓库指标

星标
 (25 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南