<%! from django.core.urlresolvers import reverse %> % if user.is_authenticated():

Sock!

% endif