title: Django urls does not work with reverse
body: <p>I have this config</p>
  
  <p>settings.py</p>
  
  <pre><code>ROOT_URLCONF = 'my_project.urls'
  </code></pre>
  
  <p>urls.py</p>
  
  <pre><code>urlpatterns = patterns('',
      (r'^any_url/', Foo, name="something")
  )
  </code></pre>
  
  <p>With this config my project works but if I use <code>reverse('something')</code> it breaks.</p>
  
  <p>Besides, If I change my settings file to <code>ROOT_URLCONF = 'my_project.my_project.urls'</code> reverse works but my project breaks.</p>
  
  <p>Why? what am I doing wrong?</p>
  
  <p>I get:</p>
  
  <pre><code>ImportError: No module named urls
  </code></pre>
  
  <p>If change my settings I get:</p>
  
  <pre><code>No module named my_project.urls
  </code></pre>