Answer the question
In order to leave comments, you need to log in
Is it possible to add a view to the Django admin?
I'm new to Django and have questions.
How can I add a view to the admin interface? or is it stupid?
It's just the situation itself: I want to display a report in the admin panel, and I have it in a view with a plug-in template.
It turns out it will no longer be in the admin panel? Do I get it right?
How to add a model, I understood:
class ClientAdmin(admin.ModelAdmin):
pass
admin.site.register(Clietn, ClientAdmin)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question