  import re
  import xml.etree.ElementTree as ET
  from django.utils.encoding import smart_unicode
  from django.utils.xmlutils import SimplerXMLGenerator
  try:
      import cStringIO as StringIO
  except ImportError:
      import StringIO
 
</s> remove from utils import dict2xml
 </s> add from utils import dict2xml, url_resolves </s> remove from itertools import chain
 </s> add  </s> remove # TODO: Display user login in top panel: http://stackoverflow.com/questions/806835/django-redirect-to-previous-page-after-login
 </s> add 
from django.core.urlresolvers import resolve
  import re
  import xml.etree.ElementTree as ET
  from django.utils.encoding import smart_unicode
  from django.utils.xmlutils import SimplerXMLGenerator
from django.core.urlresolvers import resolve
  try:
      import cStringIO as StringIO
  except ImportError:
      import StringIO
keep keep keep add keep keep keep keep
 Login/Logout and FlyWheel API link in HTML emitter 
flywheel/utils.py