from django.core.urlresolvers import resolve
from django.views.generic import TemplateView


class AlbumCreateView(TemplateView):
    template_name = 'path/to/my/template.html'

def render_to_response(self, context, **response_kwargs):
    response_kwargs['current_app'] = resolve(self.request.path).namespace
return super(AlbumPageView, self).render_to_response(context, **response_kwargs
    )
How to get current_app for using with reverse in multi-deployable reusable Django application?