I am just using the admin site in Django. I have 2 Django signals (pre_save and post_save). I would like to have the username of the current user. How would I do that? It does n
In both signals, signal send three arguments,
What you need is the Instant being modified...
def signal_catcher(sender, instance, **kwargs): uname = instance.username
http://docs.djangoproject.com/en/dev/ref/signals/#pre-save