def create_hourly_project(session, title, description,<EOL>currency, budget, jobs, hourly_project_info):
project_data = {'<STR_LIT:title>': title,<EOL>'<STR_LIT:description>': description,<EOL>'<STR_LIT>': currency,<EOL>'<STR_LIT>': budget,<EOL>'<STR_LIT>': jobs,<EOL>'<STR_LIT:type>': '<STR_LIT>',<EOL>'<STR_LIT>': hourly_project_info<EOL>}<EOL>response = make_post_request(session, '<STR_LIT>', json_data=project_data)<EOL>json_data = response.json()<EOL>if response.status_code == <NUM_LIT:200>:<EOL><INDENT>project_data = json_data['<STR_LIT:result>']<EOL>p = Project(project_data)<EOL>p.url = urljoin(session.url, '<STR_LIT>' % p.seo_url)<EOL>return p<EOL><DEDENT>else:<EOL><INDENT>raise ProjectNotCreatedException(message=json_data['<STR_LIT:message>'],<EOL>error_code=json_data['<STR_LIT>'],<EOL>request_id=json_data['<STR_LIT>'],<EOL>)<EOL><DEDENT>
Create a fixed project