You can achieve this by setting the verbose_name
in your apps.py
as an empty string.
Like so, using Post
to illustrate
In apps.py
for Post
pass an empty string into the verbose_name
from django.apps import AppConfig
class PostConfig(AppConfig):
name = 'post'
verbose_name = ' '
Then in Post
__init.py__
add
default_app_config = 'post.apps.PostConfig'
That's one hack to it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.