Categories
How to remove the "Recent Activities" tab in the Django admin?
Is it possible to remove the "Recent Activities" tab in the Django admin? And how can this be done.
Answer the question
In order to leave comments, you need to log in
Override these three methods in your admin class - log_addition, log_change and log_deletion. like this
class MyAdmin(admin.ModelAdmin): def log_addition(self, *args): return def log_change(self, *args): return def log_deletion(self, *args): return
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question