A
A
Aidar5672021-03-22 14:12:09
Django
Aidar567, 2021-03-22 14:12:09

Model entries are not displayed in the admin panel, but in the shell through Model.objects.all() they are displayed in the console, how to fix this?

The model itself is registered in admin.py. An entry created through the admin panel is displayed in the admin panel and in the shell, but entries created in the shell do not get into the admin panel.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question