  from django import forms
  
  from flywheel.response import NoContent
  
  from utils import dict2xml, url_resolves
  import string
  try:
      import json
  except ImportError:
      import simplejson as json
 
</s> remove def urlize_quoted_links(text, trim_url_limit=None, nofollow=False, autoescape=True):
 </s> add def urlize_quoted_links(text, trim_url_limit=None, nofollow=True, autoescape=True): </s> remove             login_url = "%s?next=%s" % (settings.LOGIN_URL, self.resource.request.path)
            logout_url = "%s?next=%s" % (settings.LOGOUT_URL, self.resource.request.path)
 </s> add             login_url = "%s?next=%s" % (settings.LOGIN_URL, quote_plus(self.resource.request.path))
            logout_url = "%s?next=%s" % (settings.LOGOUT_URL, quote_plus(self.resource.request.path))
from urllib import quote_plus
  from django import forms
  
  from flywheel.response import NoContent
  
from urllib import quote_plus
  import string
  try:
      import json
  except ImportError:
      import simplejson as json
keep keep keep keep replace keep keep keep keep keep
 Login/Logout and FlyWheel API link in HTML emitter - Add templates, quote next value, only use login/logout if settings.LOGIN_URL and settings.LOGOUT_URL are in urlconf 
flywheel/emitters.py