title: Unable to lazy reverse when using django-localeurl
body: <p>I'm using djangio-localeurl to provide locale switching based on my URLs. It works fine pretty much apart from a little hiccup.</p>
  
  <p>In some of my class-based views, I have been using a lazy reverse function else I get errors about missing URL patterns. This was something due to the order in which files were imported. One explanation read:</p>
  
  <blockquote>
    <p>Since the decorators of your views are evaluated during parsing
    urls.py you have an 'chicken - egg' problem. The method reverse()
    can't be used since urls.py is not read.</p>
  </blockquote>
  
  <p>It seems that django-localeurl monkey-patches Django's internal <code>reverse</code> function. This change works fine but my <code>lazy_reverse</code> function gives me issues. Now when I run my tests, I get errors at the places where I've used this <code>lazy_reverse</code> function. Here's my <code>lazy_reverse</code> function code:</p>
  
  <pre><code>from django.utils.functional import lazy
  from django.core import urlresolvers
  
  reverse_lazy = lambda name=None, *args : lazy(urlresolvers.reverse, str)(name, args=args)
  </code></pre>
  
  <p>The error I keep getting is:</p>
  
  <pre><code>TypeError: Lazy object returned unexpected type.
  </code></pre>
  
  <p>I can seem to understand what is causing this. This issue seems to disappear the moment I remove <code>localeurl</code> from my <code>INSTALLED_APPS</code> setting.</p>
  
  <p>Any ideas on how to resolve this?</p>
  
  <p>Thanks</p>