old_contents: from django.contrib.auth.decorators import login_required
  from django.core.exceptions import PermissionDenied
  from django.shortcuts import render_to_response
  from django.template import RequestContext
  
  
  @login_required
  def permission_denied(request):
      raise PermissionDenied
  
  
  @login_required
  def reflow_app(request):
      return render_to_response(
          'reflow_app.html',
          {},
          context_instance=RequestContext(request)
      )
new_contents: from django.contrib.auth.decorators import login_required
  from django.core.exceptions import PermissionDenied
  from django.shortcuts import render_to_response
  from django.template import RequestContext
  
  
  @login_required
  def permission_denied(request):
      raise PermissionDenied
  
  
  # The anchors used by Angular, i.e. any paths starting with '#'
  # never make it to the server, so server side re-direction will
  # never really be useful, thus we disable 'redirect_field_name'
  @login_required(redirect_field_name=None)
  def reflow_app(request):
      return render_to_response(
          'reflow_app.html',
          {},
          context_instance=RequestContext(request)
      )
subject: Disable "next" re-direction on reflow_app (see issue #6)