as shown in the picture, how can I delete it if I don"t want to see it in the admin sidebar?
seems to exist by default.
as shown in the picture, how can I delete it if I don"t want to see it in the admin sidebar?
seems to exist by default.
add the following code
to admin.py
from django.contrib.auth.models import Group, User
admin.site.unregister(Group)
admin.site.unregister(User)
Previous: The problem of vertical arrangement of two-dimensional arrays?
Next: Selenium cannot take screenshots of a single element using chrome
Novice django, deletes the uploaded picture in the admin background only deletes the record of the database, but the picture still exists in the media img folder. How to deal with this? models.py class HomePageProductPictureDisplay(models.Model): d...