8👍
LogEntry.objects.log_action()
0👍
it was my problem too, and it has a simple answer
Just go this address and do the following;
Address: your virtulenv/lib/site-packages/django/contrib/admin/templates/admin
And find base.html, inside of this file edit after {% load Log %}
and simply add this :
{% if user.is_superuser %}
{% get _admin_log (numbers of actions you want) as admin_log %}
And for the else do the same but at the end don’t forget to add for_user
user 😊
- How to Test Stripe Webhooks with Mock Data
- Django nginx Refused to display in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'
Source:stackexchange.com