Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @admin.register(...)
- class SilentAdmin(ModelAdmin):
- def log_addition(self, request, object, message):
- pass
- def log_change(self, request, object, message):
- pass
- def log_deletion(self, request, object, object_repr):
- pass
Add Comment
Please, Sign In to add comment