title: How to get current_app for using with reverse in multi-deployable reusable Django application?
body: <p>I'm writing reusable app. And I want to deploy it several times.</p>
  
  <p>Here is urls.py:</p>
  
  <pre><code>urlpatterns = patterns('',
  (r'^carphotos/', include('webui.photos.urls', app_name='car-photos') ),
  (r'^userphotos/', include('webui.photos.urls',  app_name='profile-photos') ),)
  </code></pre>
  
  <p>and photos/urls.py:</p>
  
  <pre><code>urlpatterns = patterns('webui.photos.views',
  url(r'^$', album_list, name="album-list" )
  url(r'^newalbum/$', album_page, {'create': True}, name="album-create"),)
  </code></pre>
  
  <p>On the album_list view I want to show url for creating new album album_page.</p>
  
  <p>I found that I have to use parameter current_app of reverse function to get proper URL.</p>
  
  <p>But how to get this current_app?
  I thought the answer is something simple. But I can't find it in django documentation.</p>
  
  <p>Thanks, Nick</p>