#NEWLINE# def job_edit( request , job_id , auth ) : #NEWLINE# #INDENT# ' A view for editing published or unpublished job posts.\n    ' #NEWLINE# job = get_object_or_404 ( Job , pk = job_id , auth = auth ) #NEWLINE# if ( job . status not in ( Job . ACTIVE , Job . TEMPORARY ) ) : #NEWLINE# #INDENT# raise Http404 #NEWLINE# #UNINDENT# return update_object ( request , form_class = JobForm , object_id = job_id , post_save_redirect = ( ( '../../../' + djobberbase_settings . DJOBBERBASE_VERIFY_URL ) + '/%(id)d/%(auth)s/' ) )