Created
October 28, 2009 14:40
-
-
Save jefftriplett/220515 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.admin.models import LogEntry | |
logs = LogEntry.objects.all().order_by('-id') | |
for log in logs[:50]: | |
print log.user, log.change_message, log.is_deletion() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment