title: django urls regular expressions
body: <p>So i have a main urls.py that looks like this:</p>
  
  <pre><code>    urlpatterns = patterns('',
  (r'^users/(?P&lt;username&gt;.*)/', include('app.urls')), 
  url(r'^users/(?P&lt;username&gt;.*)$',direct_to_template,{'template':'accounts/profile.html'}, name='profile'),)
  </code></pre>
  
  <p>and a app.urls.py</p>
  
  <pre><code>urlpatterns = patterns('',url(r'^app/create/$', create_city ,name='create_city'),)
  </code></pre>
  
  <p>my problem is, when i localhost:8000/users/michael/app/create/ it doesn't call my view. I have tried changing the order of the urls with no luck so i believe my problem is with the regular expressions but with no idea on what to change, anyone?</p>