#NEWLINE# @ addon_view #NEWLINE# @ non_atomic_requests #NEWLINE# def developers( request , addon , page ) : #NEWLINE# #INDENT# if addon . is_persona ( ) : #NEWLINE# #INDENT# raise http . Http404 ( ) #NEWLINE# #UNINDENT# if ( 'version' in request . GET ) : #NEWLINE# #INDENT# qs = addon . versions . filter ( files__status__in = amo . VALID_STATUSES ) #NEWLINE# version = get_list_or_404 ( version , version = request . GET [ 'version' ] ) [ 0 ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# version = addon . current_version #NEWLINE# #UNINDENT# if ( 'src' in request . GET ) : #NEWLINE# #INDENT# contribution_src = src = request . GET [ 'src' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# page_srcs = { #NEWLINE# #INDENT# 'developers' : ( 'developers' , 'meet-developers' ) , #NEWLINE# 'installed' : ( 'meet-the-developer-post-install' , 'post-download' ) , #NEWLINE# 'roadblock' : ( 'meetthedeveloper_roadblock' , 'roadblock' ) , #NEWLINE# #UNINDENT# } #NEWLINE# ( src , contribution_src ) = page_srcs . get ( page ) #NEWLINE# #UNINDENT# return render ( request , 'addons/impala/developers.html' , { #NEWLINE# #INDENT# 'addon' : addon , #NEWLINE# 'page' : page , #NEWLINE# 'src' : src , #NEWLINE# 'contribution_src' : contribution_src , #NEWLINE# 'version' : version , #NEWLINE# #UNINDENT# } )