#NEWLINE# @ login_required #NEWLINE# def article_body( request , category , id ) : #NEWLINE# #INDENT# resources = Resource . objects . all ( ) #NEWLINE# if ( obj == 'entry' ) : #NEWLINE# #INDENT# obj = Entry . objects . get ( pk = id ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# obj = Draft . objects . get ( pk = id ) #NEWLINE# #UNINDENT# return render_to_response ( 'lifeflow/editor/article_body.html' , { #NEWLINE# #INDENT# 'object' : obj , #NEWLINE# 'resources' : resources , #NEWLINE# 'model' : category , #NEWLINE# #UNINDENT# } , RequestContext ( request , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) )